fix: standardize remaining TRAEFIK CONFIGURATION labels

- Update infrastructure services (dozzle, glances, code-server) to new format
- Update dashboards (homarr) to new format
- Update utilities (backrest, duplicati) to new format
- Update productivity (nextcloud) to new format
- Add authelia middleware to all services except Jellyfin
- Ensure consistent label structure across all stacks
This commit is contained in:
EZ-Homelab
2026-01-23 19:22:33 -05:00
parent 436ff0d035
commit 576419443d
4 changed files with 45 additions and 54 deletions

View File

@@ -42,26 +42,23 @@ services:
- BACKREST_CONFIG=/config/config.json
- TZ=${TZ}
labels:
# ==========================================
# TRAEFIK & SABLIER CONFIGURATION
# ==========================================
# TRAEFIK CONFIGURATION
# Service metadata
- homelab.category=utilities
- homelab.description=Backup management with restic
# Traefik reverse proxy (uncomment to enable)
- traefik.enable=true
- traefik.http.routers.backrest.rule=Host(`backrest.${DOMAIN}`)
- traefik.http.routers.backrest.entrypoints=websecure
- traefik.http.routers.backrest.tls.certresolver=letsencrypt
- traefik.http.routers.backrest.middlewares=authelia@docker
- traefik.http.services.backrest.loadbalancer.server.port=9898
# Sablier lazy loading (uncomment to enable)
- sablier.enable=true
- sablier.group=${SERVER_HOSTNAME}-backrest
- sablier.start-on-demand=true
- "com.centurylinklabs.watchtower.enable=true"
- "homelab.category=utilities"
- "homelab.description=Backup management with restic"
- "traefik.enable=true"
# Router configuration
- "traefik.http.routers.backrest.rule=Host(`backrest.${DOMAIN}`)"
- "traefik.http.routers.backrest.entrypoints=websecure"
- "traefik.http.routers.backrest.tls.certresolver=letsencrypt"
- "traefik.http.routers.backrest.middlewares=authelia@docker"
# Service configuration
- "traefik.http.services.backrest.loadbalancer.server.port=9898"
# Sablier configuration
- "sablier.enable=true"
- "sablier.group=${SERVER_HOSTNAME}-backrest"
- "sablier.start-on-demand=true"
- "x-dockge.url=https://backrest.${DOMAIN}"
- "x-dockge.url=https://backrest.${DOMAIN}"
# Duplicati - Backup solution
@@ -85,19 +82,18 @@ services:
- PGID=${PGID:-1000}
- TZ=${TZ}
labels:
# TRAEFIK & SABLIER CONFIGURATION
# ==========================================
# TRAEFIK CONFIGURATION
# Service metadata
- "com.centurylinklabs.watchtower.enable=true"
- "homelab.category=utilities"
- "homelab.description=Backup software with encryption"
# Traefik reverse proxy (comment/uncomment to disable/enable)
# If Traefik is on a remote server: these labels are NOT USED;
# configure external yml files in /traefik/dynamic folder instead.
- "traefik.enable=true"
# Router configuration
- "traefik.http.routers.duplicati.rule=Host(`duplicati.${DOMAIN}`)"
- "traefik.http.routers.duplicati.entrypoints=websecure"
- "traefik.http.routers.duplicati.tls.certresolver=letsencrypt"
- "traefik.http.routers.duplicati.middlewares=authelia@docker"
# Service configuration
- "traefik.http.services.duplicati.loadbalancer.server.port=8200"
# Form.io - Form builder
# Uncomment and configure if formio/formio image becomes available