From 3ab3c7f769c184af89d41fe3263ac25100f61bdc Mon Sep 17 00:00:00 2001 From: Piotr Biernat Date: Mon, 22 May 2023 00:12:08 +0200 Subject: [PATCH] sql init update --- deploy/db_migrations/init.sql | 2 +- deploy/egommerce-stack.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/deploy/db_migrations/init.sql b/deploy/db_migrations/init.sql index a125304..c061cc4 100644 --- a/deploy/db_migrations/init.sql +++ b/deploy/db_migrations/init.sql @@ -1,3 +1,3 @@ CREATE USER egommerce; CREATE DATABASE egommerce; -GRANT ALL PRIVILEGES ON DATABASE egommerce TO egommerce; \ No newline at end of file +GRANT ALL PRIVILEGES ON DATABASE egommerce TO egommerce; diff --git a/deploy/egommerce-stack.yml b/deploy/egommerce-stack.yml index 47fdb80..9efb974 100644 --- a/deploy/egommerce-stack.yml +++ b/deploy/egommerce-stack.yml @@ -107,7 +107,7 @@ services: - POSTGRES_PASSWORD volumes: - postgres_data:/var/lib/postgresql/data - - ./db_migrations/init.sql:/docker-entrypoint-initdb.d/ + - ./db_migrations/init.sql:/docker-entrypoint-initdb.d/init.sql networks: - postgres-db-network - api-logger-network