fsd
This commit is contained in:
parent
34ed13c5cf
commit
1b2de5e10b
1 changed files with 42 additions and 0 deletions
42
web.yaml
Normal file
42
web.yaml
Normal 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
|
||||||
Loading…
Add table
Add a link
Reference in a new issue