Skip to content

Commit d68f1ce

Browse files
committed
Added DB and DB_USER env vars
1 parent 82cd5df commit d68f1ce

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

docker-compose.prod.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ services:
2727
- REDIS_PORT=${REDIS_PORT-6379}
2828
- DB_HOST=${DB_HOST-db}
2929
- DB_PORT=${DB_PORT-5432}
30+
- DB=${DB-postgres}
31+
- DB_USER=${DB_USER-postgres}
3032
- DB_PASSWORD=${DB_PASSWORD-Postgres123}
3133
- ES_HOSTS=${ES_HOSTS-es:9200}
3234
- ES_SCHEME=${ES_SCHEME-http}

docker-compose.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ services:
3232
- REDIS_PORT=${REDIS_PORT-6379}
3333
- DB_HOST=${DB_HOST-db}
3434
- DB_PORT=${DB_PORT-5432}
35+
- DB=${DB-postgres}
36+
- DB_USER=${DB_USER-postgres}
3537
- DB_PASSWORD=${DB_PASSWORD-Postgres123}
3638
- ES_HOSTS=${ES_HOSTS-es:9200}
3739
- ES_SCHEME=${ES_SCHEME-http}

0 commit comments

Comments
 (0)