From 47ac9e8422b5b9861873eeed5f0eeaa95d40008d Mon Sep 17 00:00:00 2001 From: nishanthabimanyu Date: Fri, 6 Mar 2026 05:40:47 +0000 Subject: [PATCH] fix(overrides): simplify postgres override and use consistent default password --- overrides/compose.postgres.yaml | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/overrides/compose.postgres.yaml b/overrides/compose.postgres.yaml index 5d36cd64..18d23feb 100644 --- a/overrides/compose.postgres.yaml +++ b/overrides/compose.postgres.yaml @@ -3,18 +3,6 @@ services: environment: DB_HOST: db DB_PORT: "5432" - DB_TYPE: postgres - command: - - > - ls -1 apps > sites/apps.txt; - bench set-config -g db_type postgres; - bench set-config -g db_host $$DB_HOST; - bench set-config -gp db_port $$DB_PORT; - bench set-config -g redis_cache "redis://$$REDIS_CACHE"; - bench set-config -g redis_queue "redis://$$REDIS_QUEUE"; - bench set-config -g redis_socketio "redis://$$REDIS_QUEUE"; - bench set-config -gp socketio_port $$SOCKETIO_PORT; - bench set-config -g chromium_path /usr/bin/chromium-headless-shell; depends_on: db: condition: service_healthy @@ -26,7 +14,7 @@ services: interval: 5s retries: 5 environment: - POSTGRES_PASSWORD: ${DB_PASSWORD:-postgres} + POSTGRES_PASSWORD: ${DB_PASSWORD:-123} volumes: - db-data:/var/lib/postgresql/data