Browse Source

Add sslmode back

pull/1472/head
Delena Malan 3 years ago
committed by Thomas
parent
commit
cb4d943c45
  1. 2
      docker/docker-compose.build.yml
  2. 2
      docker/docker-compose.yml

2
docker/docker-compose.build.yml

@ -5,7 +5,7 @@ services:
env_file: env_file:
- ../.env - ../.env
environment: environment:
DATABASE_URL: postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@postgres:5432/${POSTGRES_DB}?connect_timeout=300 DATABASE_URL: postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@postgres:5432/${POSTGRES_DB}?sslmode=prefer&connect_timeout=300
NODE_ENV: production NODE_ENV: production
REDIS_HOST: 'redis' REDIS_HOST: 'redis'
REDIS_PASSWORD: ${REDIS_PASSWORD} REDIS_PASSWORD: ${REDIS_PASSWORD}

2
docker/docker-compose.yml

@ -5,7 +5,7 @@ services:
env_file: env_file:
- ../.env - ../.env
environment: environment:
DATABASE_URL: postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@postgres:5432/${POSTGRES_DB}?connect_timeout=300 DATABASE_URL: postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@postgres:5432/${POSTGRES_DB}?sslmode=prefer&connect_timeout=300
NODE_ENV: production NODE_ENV: production
REDIS_HOST: 'redis' REDIS_HOST: 'redis'
REDIS_PASSWORD: ${REDIS_PASSWORD} REDIS_PASSWORD: ${REDIS_PASSWORD}

Loading…
Cancel
Save