1649 files changed
+329897
No files matched your search
Executable
+75
@@ -0,0 +1,75 @@
|
||||
services:
|
||||
caddy:
|
||||
image: caddy:2
|
||||
container_name: caddy
|
||||
restart: unless-stopped
|
||||
# mode host : Caddy joint les services via leurs ports sur l'hôte,
|
||||
# y compris ceux liés à 127.0.0.1 (stack arr), sans toucher aux autres stacks
|
||||
network_mode: host
|
||||
volumes:
|
||||
- ./data:/data
|
||||
- ./config:/config
|
||||
configs:
|
||||
- source: caddyfile
|
||||
target: /etc/caddy/Caddyfile
|
||||
|
||||
# Variables (.env dans Dockge) : DOMAIN, AUTH_USER, AUTH_HASH
|
||||
configs:
|
||||
caddyfile:
|
||||
content: |
|
||||
{
|
||||
# certificats signés par la CA interne de Caddy (pas de Let's Encrypt en local)
|
||||
local_certs
|
||||
}
|
||||
|
||||
# les apps *arr n'ont pas de mot de passe au premier lancement
|
||||
(auth) {
|
||||
basic_auth {
|
||||
${AUTH_USER:-admin} ${AUTH_HASH:?AUTH_HASH manquant, voir le .env}
|
||||
}
|
||||
}
|
||||
|
||||
# repris de l'ancien nginx
|
||||
jelly.${DOMAIN:-localhost} {
|
||||
reverse_proxy localhost:8096
|
||||
}
|
||||
vault.${DOMAIN:-localhost} {
|
||||
reverse_proxy localhost:9445
|
||||
}
|
||||
|
||||
grafana.${DOMAIN:-localhost} {
|
||||
reverse_proxy localhost:3000
|
||||
}
|
||||
dockge.${DOMAIN:-localhost} {
|
||||
reverse_proxy localhost:5001
|
||||
}
|
||||
netbox.${DOMAIN:-localhost} {
|
||||
reverse_proxy localhost:8000
|
||||
}
|
||||
jellyseerr.${DOMAIN:-localhost} {
|
||||
reverse_proxy localhost:5055
|
||||
}
|
||||
prowlarr.${DOMAIN:-localhost} {
|
||||
import auth
|
||||
reverse_proxy localhost:9696
|
||||
}
|
||||
radarr.${DOMAIN:-localhost} {
|
||||
import auth
|
||||
reverse_proxy localhost:7878
|
||||
}
|
||||
sonarr.${DOMAIN:-localhost} {
|
||||
import auth
|
||||
reverse_proxy localhost:8989
|
||||
}
|
||||
sabnzbd.${DOMAIN:-localhost} {
|
||||
import auth
|
||||
reverse_proxy localhost:8085
|
||||
}
|
||||
spotweb.${DOMAIN:-localhost} {
|
||||
import auth
|
||||
reverse_proxy localhost:8086
|
||||
}
|
||||
handbrake.${DOMAIN:-localhost} {
|
||||
import auth
|
||||
reverse_proxy localhost:5800
|
||||
}
|
||||
Reference in new issue
Block a user