♻️ Simplify env files, merge to one .env (#151)

This commit is contained in:
Sebastián Ramírez
2020-04-19 09:17:14 +02:00
committed by GitHub
parent 894b0a5587
commit a7d3671a72
9 changed files with 38 additions and 36 deletions

View File

@@ -2,20 +2,18 @@ version: '3.3'
services:
db:
env_file:
- env-postgres.env
- .env
environment:
- PGDATA=/var/lib/postgresql/data/pgdata
backend:
env_file:
- env-postgres.env
- env-backend.env
- .env
environment:
- SERVER_NAME=${DOMAIN}
- SERVER_HOST=https://${DOMAIN}
celeryworker:
env_file:
- env-postgres.env
- env-backend.env
- .env
environment:
- SERVER_NAME=${DOMAIN}
- SERVER_HOST=https://${DOMAIN}