3
0
Fork 0
This commit is contained in:
Ilya Mukhortov 2026-08-20 17:41:02 +10:00
parent a0a646889d
commit ae39715fdc
3 changed files with 7 additions and 7 deletions

View File

@ -4,7 +4,7 @@ networks:
external: true
services:
dashboard:
control-panel:
container_name: medicine-control-panel
image: medlogic/medicine-control-panel:latest
restart: always

View File

@ -8,11 +8,11 @@ fi
echo "readonly" | docker login docker.med-logic.ru --username readonly --password-stdin
docker pull docker.med-logic.ru/medicine-dashboard:latest
docker tag docker.med-logic.ru/medicine-dashboard:latest medlogic/medicine-dashboard:latest
docker pull docker.med-logic.ru/medicine-control-panel:latest
docker tag docker.med-logic.ru/medicine-control-panel:latest medlogic/medicine-control-panel:latest
(
cd ~/medicine-config/dashboard &&
cd ~/medicine-config/control-panel &&
docker compose stop &&
docker compose up -d
)

View File

@ -1,10 +1,10 @@
set -e
docker pull docker.med-logic.ru/medicine-dashboard:latest
docker tag docker.med-logic.ru/medicine-dashboard:latest medlogic/medicine-dashboard:latest
docker pull docker.med-logic.ru/medicine-control-panel:latest
docker tag docker.med-logic.ru/medicine-control-panel:latest medlogic/medicine-control-panel:latest
(
cd ~/medicine-config/dashboard &&
cd ~/medicine-config/control-panel &&
docker compose stop &&
docker compose rm -f &&
docker compose up -d