version: "3.9" services: web: image: php:8.2-apache container_name: web hostname: web user: "1001:998" networks: - netgrimoire volumes: - /data/nfs/Baxter/Docker/web:/var/www/html:rw environment: - PUID=1001 - PGID=998 - TZ=America/Chicago labels: # Homepage - "homepage.name=www.wasted-bandwidth.net" - "homepage.icon=mdi:web" # Kuma - "kuma.web.http.name=www.wasted-bandwidth.net" - "kuma.web.http.url=http://web:80" # Caddy reverse proxy - caddy=www.wasted-bandwidth.net - caddy.import=authentik - caddy.reverse_proxy={{upstreams 80}} # Diun - "diun.enable=true" - "diun.notification.ntfy=true" deploy: mode: replicated replicas: 1 restart_policy: condition: any delay: 5s max_attempts: 3 window: 120s networks: netgrimoire: external: true