diff --git a/notification/docker-compose.yml b/notification/docker-compose.yml index f78c74f..4351ba9 100644 --- a/notification/docker-compose.yml +++ b/notification/docker-compose.yml @@ -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 diff --git a/notification/install.sh b/notification/install.sh index 4d61c45..7d69c95 100755 --- a/notification/install.sh +++ b/notification/install.sh @@ -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 <> /root/medicine-config/notification/.env EOT