boredgame/docker-compose.yaml

43 lines
875 B
YAML
Raw Permalink Normal View History

services:
postgres:
image: postgres:latest
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_DB: postgres
ports:
- '5432:5432'
volumes:
- postgres_data:/var/lib/postgresql/data
redis:
image: redis:latest
ports:
- '6379:6379'
volumes:
- redis_data:/data
# cerbos:
# image: ghcr.io/cerbos/cerbos:0.38.1
# environment:
# CERBOS_NO_TELEMETRY: 1
# ports:
# - '3592:3592'
# volumes:
# - ./policies:/policies
# caddy:
# image: caddy:latest
# restart: unless-stopped
# ports:
# - "80:80"
# - "443:443"
# - "443:443/udp"
# volumes:
# - ./Caddyfile:/etc/caddy/Caddyfile
# - ./site:/srv
# - caddy_data:/data
# - caddy_config:/config
volumes:
postgres_data:
redis_data:
# policies_data:
# caddy_data:
# caddy_config: