postgres_enviroments
This commit is contained in:
@@ -14,6 +14,10 @@ services:
|
||||
|
||||
postgres:
|
||||
image: postgres:latest
|
||||
environment:
|
||||
POSTGRES_DB: mydb
|
||||
POSTGRES_USER: user
|
||||
POSTGRES_PASSWORD: password
|
||||
healthcheck:
|
||||
test: ["CMD", "nc", "-z", "-v", "localhost", "5432"]
|
||||
interval: 5s
|
||||
|
||||
Reference in New Issue
Block a user