update docker reg
This commit is contained in:
40
install.zsh
40
install.zsh
@@ -22,6 +22,7 @@ function at-repos-env() {
|
||||
dh=${0:a:h:h}
|
||||
name=${host%%.*}
|
||||
domain=${host##*.}
|
||||
dport=5000
|
||||
}
|
||||
|
||||
function at-repos-json() {
|
||||
@@ -177,7 +178,35 @@ function at-repos-ozone-patch() {
|
||||
|
||||
function at-repos-docker() {
|
||||
cd $d
|
||||
docker compose build && docker compose up -d
|
||||
docker compose build
|
||||
# docker compose up -d
|
||||
# docker compose up -d --no-build
|
||||
# docker compose up -d --pull always
|
||||
}
|
||||
|
||||
function at-regi-docker() {
|
||||
docker run -d -p ${dport}:${dport} --name registry --restart=always registry:2
|
||||
docker tag at-pds:latest localhost:${dport}/pds:latest
|
||||
docker tag at-ozone-web:latest localhost:${dport}/ozone-web:latest
|
||||
docker tag at-bgs:latest localhost:${dport}/bgs:latest
|
||||
docker tag at-jetstream:latest localhost:${dport}/jetstream:latest
|
||||
docker tag at-bsky:latest localhost:${dport}/bsky:latest
|
||||
docker tag at-ozone-daemon:latest localhost:${dport}/ozone-daemon:latest
|
||||
docker tag at-ozone:latest localhost:${dport}/ozone:latest
|
||||
docker tag at-plc:latest localhost:${dport}/plc:latest
|
||||
docker tag at-social-app:latest localhost:${dport}/social-app:latest
|
||||
|
||||
docker push localhost:${dport}/pds:latest
|
||||
docker push localhost:${dport}/ozone-web:latest
|
||||
docker push localhost:${dport}/bgs:latest
|
||||
docker push localhost:${dport}/jetstream:latest
|
||||
docker push localhost:${dport}/bsky:latest
|
||||
docker push localhost:${dport}/ozone-daemon:latest
|
||||
docker push localhost:${dport}/ozone:latest
|
||||
docker push localhost:${dport}/plc:latest
|
||||
docker push localhost:${dport}/social-app:latest
|
||||
|
||||
docker restart registry
|
||||
}
|
||||
|
||||
at-repos-env
|
||||
@@ -189,13 +218,6 @@ at-repos-social-app-write
|
||||
at-repos-bsky-patch
|
||||
at-repos-social-app-patch
|
||||
at-repos-ozone-patch
|
||||
|
||||
at-repos-docker
|
||||
#echo "[y]docker compose build && up"
|
||||
#read key
|
||||
#case $key in
|
||||
# [yY])
|
||||
# at-repos-docker
|
||||
# ;;
|
||||
#esac
|
||||
|
||||
# at-regi-docker
|
||||
|
Reference in New Issue
Block a user