mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-05 03:54:04 +00:00
Use env variables in docker-compose
This commit is contained in:
parent
f4b0f4cee6
commit
aafb629bae
1 changed files with 3 additions and 3 deletions
|
|
@ -53,15 +53,15 @@ services:
|
|||
retries: 10
|
||||
postgres:
|
||||
image: 'postgres:15'
|
||||
user: 'postgres'
|
||||
user: '${POSTGRES_USER:-postgres}'
|
||||
ports:
|
||||
- '${POSTGRES_PORT:-5433}'
|
||||
environment:
|
||||
PGPASSWORD: '${POSTGRES_PASSWORD:-postgres}'
|
||||
PGPORT: '${POSTGRES_PORT:-5433}'
|
||||
POSTGRES_DB: main
|
||||
POSTGRES_USER: 'postgres'
|
||||
POSTGRES_PASSWORD: 'postgres'
|
||||
POSTGRES_USER: '${POSTGRES_USER:-postgres}'
|
||||
POSTGRES_PASSWORD: '${POSTGRES_PASSWORD:-postgres}'
|
||||
expose:
|
||||
- '${POSTGRES_PORT:-5433}'
|
||||
healthcheck:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue