3
0
Fork 0
This commit is contained in:
Ilya Mukhortov 2026-05-31 19:49:59 +10:00
parent 2e5c26a1b2
commit d956f84fad
3 changed files with 16 additions and 1 deletions

View File

@ -8,7 +8,7 @@ services:
notification: notification:
restart: "always" restart: "always"
container_name: "notification" container_name: "notification"
image: docker.med-logic.ru/micro-notification:latest image: docker.med-logic.ru/medicine-notification:latest
networks: networks:
- medicine-network - medicine-network
expose: expose:

13
notification/install.sh Executable file
View File

@ -0,0 +1,13 @@
set -e
docker pull docker.med-logic.ru/medicine-notification:latest
cd /root/medicine-config/service-postgres
docker-compose up -d
docker-compose exec postgres psql -c 'CREATE DATABASE medicine_notification' --username=user
cat <<EOT >> /root/medicine-config/notification/.env
EOT
cd /root/medicine-config/notification
docker-compose up -d

View File

@ -1,3 +1,5 @@
version: '3.4'
networks: networks:
medicine-network: medicine-network:
external: true external: true