go-tell/docker-compose.yml
2026-09-19 14:48:42 +02:00

19 lines
398 B
YAML

services:
postgres:
image: postgres:17-alpine
environment:
POSTGRES_DB: cms
POSTGRES_USER: cms
POSTGRES_PASSWORD: cms
ports:
- "5432:5432"
volumes:
- cms-postgres-data:/var/lib/postgresql/data
healthcheck:
test: ["CMD-SHELL", "pg_isready -U cms -d cms"]
interval: 5s
timeout: 5s
retries: 10
volumes:
cms-postgres-data: