mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-05 12:04:03 +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'
|
image: 'postgres:15'
|
||||||
user: 'postgres'
|
user: 'postgres'
|
||||||
ports:
|
ports:
|
||||||
- '${FORWARD_DB_PORT:-5434}:5434'
|
- '${POSTGRES_PORT:-5434}'
|
||||||
environment:
|
environment:
|
||||||
PGPASSWORD: 'postgres'
|
PGPASSWORD: '${POSTGRES_PASSWORD:-postgres}'
|
||||||
PGPORT: '5434'
|
PGPORT: '${POSTGRES_PORT:-5434}'
|
||||||
POSTGRES_DB: main
|
POSTGRES_DB: main
|
||||||
POSTGRES_USER: 'postgres'
|
POSTGRES_USER: 'postgres'
|
||||||
POSTGRES_PASSWORD: 'postgres'
|
POSTGRES_PASSWORD: 'postgres'
|
||||||
expose:
|
expose:
|
||||||
- "5434"
|
- '${POSTGRES_PORT:-5434}'
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test:
|
test:
|
||||||
- CMD
|
- CMD
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue