Update Backup_Containers/urbackup/compose.yaml
This commit is contained in:
@@ -21,4 +21,26 @@ services:
|
|||||||
# - SYS_ADMIN
|
# - SYS_ADMIN
|
||||||
# Uncomment the following two lines if you're using ZFS support
|
# Uncomment the following two lines if you're using ZFS support
|
||||||
#devices:
|
#devices:
|
||||||
# - /dev/zfs:/dev/zfs
|
# - /dev/zfs:/dev/zfs
|
||||||
|
networks:
|
||||||
|
- traefik_network
|
||||||
|
labels:
|
||||||
|
### Can comment out if not using Flame Dashboard
|
||||||
|
- flame.type=application # "app" works too
|
||||||
|
- flame.name=${SERVICE_NAME}
|
||||||
|
- flame.url=https://${SERVICE_NAME}.${DOMAIN_NAME} #Adjust to your domain or IP
|
||||||
|
- flame.icon=https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/png/urbackup-server.png
|
||||||
|
### Enable Traefik
|
||||||
|
- traefik.enable=true
|
||||||
|
### 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}`)
|
||||||
|
restart: unless-stopped
|
||||||
|
networks:
|
||||||
|
traefik_network:
|
||||||
|
external: true
|
||||||
Reference in New Issue
Block a user