Skip to content

Commit

Permalink
Set sslmode default off, use better name for default postgres certifi…
Browse files Browse the repository at this point in the history
…cate
  • Loading branch information
rjzondervan committed Apr 24, 2024
1 parent fe98d2d commit 9cbf000
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions api/config/packages/common_ground.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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)%"
Expand Down
4 changes: 2 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down

0 comments on commit 9cbf000

Please sign in to comment.