use DATABASE_URL for node api

This commit is contained in:
sid palas
2023-01-27 12:37:06 -05:00
parent a3de60d264
commit d600c75de5
4 changed files with 5 additions and 105 deletions

View File

@ -22,11 +22,7 @@ services:
depends_on:
- db
environment:
- PGUSER=postgres
- PGHOST=db
- PGPASSWORD=foobarbaz
- PGDATABASE=postgres
- PGPORT=5432
- DATABASE_URL=postgres://postgres:foobarbaz@db:5432/postgres
ports:
- 3000:3000
api-golang: