From 9cbf000e8eb96e70183600507a08a182f7d8424b Mon Sep 17 00:00:00 2001 From: Robert Zondervan Date: Wed, 24 Apr 2024 10:49:17 +0200 Subject: [PATCH] Set sslmode default off, use better name for default postgres certificate --- api/config/packages/common_ground.yaml | 4 ++++ docker-compose.yml | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/api/config/packages/common_ground.yaml b/api/config/packages/common_ground.yaml index d40100742..133652fd7 100644 --- a/api/config/packages/common_ground.yaml +++ b/api/config/packages/common_ground.yaml @@ -9,6 +9,10 @@ parameters: env(APP_COMMONGROUND_KEY): "d4bb1810-8358-4372-98db-6c7bd2fb370c" env(APP_COMMONGROUND_SECRET): "" env(CACHE_URL): '' + + env(DATABASE_ROOT_CERT): /var/certs/postgresql.crt + env(REDIS_PROTOCOL): redis + common_ground.app.id: "%env(APP_COMMONGROUND_ID)%" app_commonground_id: "%env(APP_COMMONGROUND_ID)%" diff --git a/docker-compose.yml b/docker-compose.yml index e1492a74b..43160108f 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -48,8 +48,8 @@ services: - APP_INIT='true' - CONTAINER_REGISTRY_BASE=${CONTAINER_REGISTRY_BASE} - CONTAINER_PROJECT_NAME=${CONTAINER_PROJECT_NAME} - - DATABASE_ROOT_CERT=/var/certs/postgresql-test.crt - - DATABASE_URL=postgres://api-platform:!ChangeMe!@db/api?serverVersion=10.1&sslmode=require + - DATABASE_ROOT_CERT=/var/certs/postgresql.crt + - DATABASE_URL=postgres://api-platform:!ChangeMe!@db/api?serverVersion=10.1 # - DATABASE_URL=mysql://api-platform:!ChangeMe!@db/api?serverVersion=10.1 - CACHE_URL=mongodb://api-platform:!ChangeMe!@mongodb - APP_ENV=${APP_ENV}