postgres_enviroments

This commit is contained in:
2025-08-03 16:26:28 +03:00
parent feeb1286e8
commit 6f5340c877

View File

@@ -14,6 +14,10 @@ services:
postgres: postgres:
image: postgres:latest image: postgres:latest
environment:
POSTGRES_DB: mydb
POSTGRES_USER: user
POSTGRES_PASSWORD: password
healthcheck: healthcheck:
test: ["CMD", "nc", "-z", "-v", "localhost", "5432"] test: ["CMD", "nc", "-z", "-v", "localhost", "5432"]
interval: 5s interval: 5s