refactor: migrate sync service environment variables to .env.docker file
This commit is contained in:
1 parent
5a5bc8b6f3
commit
ef4734ff39
1 file changed
+4
-10
+4
-10
@@ -39,17 +39,11 @@ services:
|
|||||||
container_name: ff_sync
|
container_name: ff_sync
|
||||||
ports:
|
ports:
|
||||||
- "3001:3001"
|
- "3001:3001"
|
||||||
|
env_file:
|
||||||
|
- .env.docker
|
||||||
environment:
|
environment:
|
||||||
DB_HOST: ${DB_HOST}
|
PG_HOST: postgres
|
||||||
DB_PORT: ${DB_PORT:-1433}
|
PG_PORT: "5432"
|
||||||
DB_NAME: ${DB_NAME}
|
|
||||||
DB_USER: ${DB_USER}
|
|
||||||
DB_PASSWORD: ${DB_PASSWORD}
|
|
||||||
PG_HOST: postgres
|
|
||||||
PG_PORT: 5432
|
|
||||||
PG_DB: ${PG_DB}
|
|
||||||
PG_USER: ${PG_USER}
|
|
||||||
PG_PASSWORD: ${PG_PASSWORD}
|
|
||||||
depends_on:
|
depends_on:
|
||||||
postgres:
|
postgres:
|
||||||
condition: service_healthy
|
condition: service_healthy
|
||||||
|
|||||||
Reference in new issue
Block a user