default enviroment variables
This commit is contained in:
@@ -5,8 +5,8 @@ services:
|
||||
volumes:
|
||||
- postgres:/var/lib/postgresql
|
||||
environment:
|
||||
POSTGRES_DB: ${POSTGRES_DB}
|
||||
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
|
||||
POSTGRES_DB: ${POSTGRES_DB:-naliia}
|
||||
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-SUp3r-pass*DB}
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "pg_isready -U postgres"]
|
||||
interval: 10s
|
||||
|
||||
Reference in New Issue
Block a user