Files
funstat-mcp/docker-compose.yml

19 lines
550 B
YAML

services:
postgres:
image: postgres:16-alpine
container_name: funstat-postgres
restart: unless-stopped
environment:
POSTGRES_DB: ${POSTGRES_DB:-funstat}
POSTGRES_USER: ${POSTGRES_USER:-funstat}
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-funstat_dev_password}
ports:
- "${POSTGRES_PORT:-5433}:5432"
volumes:
- ./local_data/postgres:/var/lib/postgresql/data
healthcheck:
test: ["CMD", "pg_isready", "-U", "${POSTGRES_USER:-funstat}"]
interval: 10s
timeout: 5s
retries: 5