Files
zendegi/packages/db/docker-compose.yml
2026-02-10 19:40:51 +01:00

24 lines
483 B
YAML

name: zendegi
services:
postgres:
image: postgres
container_name: zendegi-postgres
environment:
POSTGRES_DB: zendegi
POSTGRES_USER: postgres
POSTGRES_PASSWORD: password
ports:
- "5432:5432"
volumes:
- zendegi_postgres_data:/var/lib/postgresql
healthcheck:
test: ["CMD-SHELL", "pg_isready -U postgres"]
interval: 10s
timeout: 5s
retries: 5
restart: unless-stopped
volumes:
zendegi_postgres_data: