1
0
Fork 0
This commit is contained in:
Ilya Mukhortov 2026-01-14 10:54:25 +10:00
parent e4f1b4128a
commit bcecbd32d5
1 changed files with 3 additions and 2 deletions

View File

@ -1,8 +1,8 @@
set -e set -e
NETWORK_NAME=medicine-network NETWORK_NAME=medicine-network
if [ -z $(docker network ls --filter name=^${NETWORK_NAME}$ --format="{{ .Name }}") ] ; then if ! docker network inspect ${NETWORK_NAME} >/dev/null 2>&1; then
docker network create ${NETWORK_NAME} ; docker network create ${NETWORK_NAME}
fi fi
echo "readonly" | docker login docker.med-logic.ru --username readonly --password-stdin echo "readonly" | docker login docker.med-logic.ru --username readonly --password-stdin
@ -10,4 +10,5 @@ echo "readonly" | docker login docker.med-logic.ru --username readonly --passwor
docker pull docker.med-logic.ru/medicine-dashboard:latest docker pull docker.med-logic.ru/medicine-dashboard:latest
docker tag docker.med-logic.ru/medicine-dashboard:latest medicine-dashboard:latest docker tag docker.med-logic.ru/medicine-dashboard:latest medicine-dashboard:latest
docker compose stop
docker compose up -d docker compose up -d