pass
This commit is contained in:
parent
6a7da0550e
commit
3b67fb5eb3
|
|
@ -7,7 +7,7 @@ networks:
|
||||||
services:
|
services:
|
||||||
notification:
|
notification:
|
||||||
restart: "always"
|
restart: "always"
|
||||||
container_name: "notification"
|
container_name: "medicine-notification"
|
||||||
image: docker.med-logic.ru/medicine-notification:latest
|
image: docker.med-logic.ru/medicine-notification:latest
|
||||||
networks:
|
networks:
|
||||||
- medicine-network
|
- medicine-network
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@ docker pull docker.med-logic.ru/medicine-notification:latest
|
||||||
|
|
||||||
cd /root/medicine-config/postgres
|
cd /root/medicine-config/postgres
|
||||||
docker-compose up -d
|
docker-compose up -d
|
||||||
docker-compose exec postgres psql -c 'CREATE DATABASE medicine_notification' --username=user
|
docker-compose exec postgres psql -c 'CREATE DATABASE medicine_notification' --username=postgres
|
||||||
|
|
||||||
cat <<EOT >> /root/medicine-config/notification/.env
|
cat <<EOT >> /root/medicine-config/notification/.env
|
||||||
EOT
|
EOT
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue