mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-05 10:14:04 +00:00
Use env variables in docker-compose
This commit is contained in:
parent
e4aeccb2b0
commit
b4238e5cf8
1 changed files with 4 additions and 4 deletions
|
|
@ -55,15 +55,15 @@ services:
|
|||
image: 'postgres:15'
|
||||
user: 'postgres'
|
||||
ports:
|
||||
- '${FORWARD_DB_PORT:-5434}:5434'
|
||||
- '${POSTGRES_PORT:-5434}'
|
||||
environment:
|
||||
PGPASSWORD: 'postgres'
|
||||
PGPORT: '5434'
|
||||
PGPASSWORD: '${POSTGRES_PASSWORD:-postgres}'
|
||||
PGPORT: '${POSTGRES_PORT:-5434}'
|
||||
POSTGRES_DB: main
|
||||
POSTGRES_USER: 'postgres'
|
||||
POSTGRES_PASSWORD: 'postgres'
|
||||
expose:
|
||||
- "5434"
|
||||
- '${POSTGRES_PORT:-5434}'
|
||||
healthcheck:
|
||||
test:
|
||||
- CMD
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue