Update Security_Containers/pihole/compose.yaml
This commit is contained in:
@@ -39,6 +39,31 @@ services:
|
|||||||
#WEBPASSWORD: "randompassword"
|
#WEBPASSWORD: "randompassword"
|
||||||
WEBPASSWORD_FILE: "/run/secrets/piholepass"
|
WEBPASSWORD_FILE: "/run/secrets/piholepass"
|
||||||
TZ: "America/Chicago"
|
TZ: "America/Chicago"
|
||||||
|
labels:
|
||||||
|
### Auto create icon on Flame dashboard
|
||||||
|
- flame.type=application
|
||||||
|
- flame.name=${SERVICE_NAME}
|
||||||
|
- flame.url=https://${SERVICE_NAME}.${DOMAIN_NAME}
|
||||||
|
- flame.icon=https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/svg/pi-hole.svg
|
||||||
|
### Enable Traefik
|
||||||
|
#- traefik.enable=true
|
||||||
|
#- traefik.docker.network=traefik_network
|
||||||
|
### For HTTP
|
||||||
|
#- traefik.http.routers.${SERVICE_NAME}.rule=Host(`${SERVICE_NAME}.${DOMAIN_NAME}`)
|
||||||
|
#- traefik.http.routers.${SERVICE_NAME}.entrypoints=web
|
||||||
|
### For HTTPS
|
||||||
|
#- traefik.http.routers.${SERVICE_NAME}-https.tls=true
|
||||||
|
#- traefik.http.routers.${SERVICE_NAME}-https.tls.certresolver=cloudflare
|
||||||
|
#- traefik.http.routers.${SERVICE_NAME}-https.entrypoints=websecure
|
||||||
|
#- traefik.http.routers.${SERVICE_NAME}-https.rule=Host(`${SERVICE_NAME}.${DOMAIN_NAME}`)
|
||||||
|
### Monitor with uptime-kuma
|
||||||
|
- kuma.monitoring.group.name=Docker Containers
|
||||||
|
- kuma.${SERVICE_NAME}.docker.parent_name=monitoring
|
||||||
|
- kuma.${SERVICE_NAME}.docker.name=${SERVICE_NAME}
|
||||||
|
- kuma.${SERVICE_NAME}.docker.type=docker
|
||||||
|
- kuma.${SERVICE_NAME}.docker.docker_container=${SERVICE_NAME}
|
||||||
|
- kuma.${SERVICE_NAME}.docker.docker_host=1
|
||||||
|
- 'kuma.${SERVICE_NAME}.docker.tag_names=[{"name": "docker_tag"}]'
|
||||||
|
|
||||||
secrets:
|
secrets:
|
||||||
piholepass:
|
piholepass:
|
||||||
|
|||||||
Reference in New Issue
Block a user