From f3b21e9d9ab7f3f75f53e358eae03841a448b4b7 Mon Sep 17 00:00:00 2001 From: Blusia Date: Tue, 1 Oct 2024 10:15:31 +0200 Subject: [PATCH] - update db environment in docker compose dbprod --- environment/prod/deployment/prod/docker-compose.dbprod.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/environment/prod/deployment/prod/docker-compose.dbprod.yml b/environment/prod/deployment/prod/docker-compose.dbprod.yml index 28e2d0e..49497c3 100644 --- a/environment/prod/deployment/prod/docker-compose.dbprod.yml +++ b/environment/prod/deployment/prod/docker-compose.dbprod.yml @@ -16,9 +16,7 @@ services: image: postgres:15.5-alpine3.17@sha256:1961f9d61a86948fb3c02ef87a6616f74f3530d10a1cd299b84abba7ed6db791 container_name: keating-prod-database environment: - - POSTGRES_USER=${DB_USERNAME} - - POSTGRES_PASSWORD=${DB_PASSWORD} - - POSTGRES_DB=${DB_DATABASE} + - POSTGRES_PASSWORD=${DB_ROOT_PASSWORD} - PGDATA=/var/lib/postgresql/data healthcheck: test: [ "CMD-SHELL", "pg_isready --dbname ${DB_DATABASE} --username ${DB_USERNAME}" ]