services: awcc: build: . restart: unless-stopped ports: # Only reachable from the server itself; the reverse proxy (nginx) is the public entrance. # Docker bypasses firewall rules for published ports, so never publish this on 0.0.0.0. - "127.0.0.1:8080:8000" security_opt: - no-new-privileges:true environment: # Code that new users must enter to create an account (set it in the .env file next to this file). # Empty = registration is disabled. AW_REGISTRATION_CODE: ${AW_REGISTRATION_CODE:-} # Set to 1 when a reverse proxy (nginx, Caddy, Traefik) in front sets X-Forwarded-* headers. AW_TRUST_PROXY: ${AW_TRUST_PROXY:-0} volumes: - ./db:/db # SQLite database (users, characters, presets) - ./backend/data:/app/data:ro # rules.json: edit, reload the page, done