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