env files, fixes for discogs sync
This commit is contained in:
1 parent
1ee8dbc749
commit
1ca9a7225c
6 files changed
+31
-14
No files matched your search
+4
-4
@@ -4,9 +4,9 @@ services:
|
||||
pg:
|
||||
image: postgres:latest
|
||||
environment:
|
||||
POSTGRES_USER: 'mcrates'
|
||||
POSTGRES_DB: 'mcrates'
|
||||
POSTGRES_PASSWORD: 'digdeep'
|
||||
POSTGRES_USER: '${POSTGRES_USER}'
|
||||
POSTGRES_DB: '${POSTGRES_DB}'
|
||||
POSTGRES_PASSWORD: '${POSTGRES_PASSWORD}'
|
||||
ports:
|
||||
- '45432:5432'
|
||||
volumes:
|
||||
@@ -19,7 +19,7 @@ services:
|
||||
- 'pg'
|
||||
entrypoint: npm start
|
||||
environment:
|
||||
DATABASE_URL: 'postgresql://mcrates:digdeep@pg:5432/mcrates?schema=public'
|
||||
DATABASE_URL: 'postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@pg:5432/${POSTGRES_DB}?schema=public'
|
||||
volumes:
|
||||
- "./api:/opt/mcrates/api"
|
||||
|
||||
|
||||
Reference in new issue
Block a user