Files
client/templates/docker-compose.yaml
2026-03-07 19:46:19 +01:00

20 lines
420 B
YAML

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