pass
This commit is contained in:
parent
2e5c26a1b2
commit
d956f84fad
|
|
@ -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:
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
@ -1,3 +1,5 @@
|
||||||
|
version: '3.4'
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
medicine-network:
|
medicine-network:
|
||||||
external: true
|
external: true
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue