This commit is contained in:
traveler 2025-10-27 15:29:52 -05:00
parent 34ed13c5cf
commit 1b2de5e10b

42
web.yaml Normal file
View file

@ -0,0 +1,42 @@
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.wasted-bandwidth.net.reverse_proxy={{upstreams 80}}"
- "caddy.wasted-bandwidth.net.encode=zstd"
# 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