pass
This commit is contained in:
parent
6a7da0550e
commit
3b67fb5eb3
|
|
@ -7,7 +7,7 @@ networks:
|
|||
services:
|
||||
notification:
|
||||
restart: "always"
|
||||
container_name: "notification"
|
||||
container_name: "medicine-notification"
|
||||
image: docker.med-logic.ru/medicine-notification:latest
|
||||
networks:
|
||||
- medicine-network
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ docker pull docker.med-logic.ru/medicine-notification:latest
|
|||
|
||||
cd /root/medicine-config/postgres
|
||||
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
|
||||
EOT
|
||||
|
|
|
|||
Loading…
Reference in New Issue