From 0ee2758ec8cebc6b997a0849f734d5c45dd08e64 Mon Sep 17 00:00:00 2001 From: Gabe Date: Sat, 21 Feb 2026 04:20:34 +0000 Subject: [PATCH] Update Backup_Containers/urbackup/compose.yaml --- Backup_Containers/urbackup/compose.yaml | 29 +++++++++++++++++++++++-- 1 file changed, 27 insertions(+), 2 deletions(-) diff --git a/Backup_Containers/urbackup/compose.yaml b/Backup_Containers/urbackup/compose.yaml index c145a58..ebe74d1 100644 --- a/Backup_Containers/urbackup/compose.yaml +++ b/Backup_Containers/urbackup/compose.yaml @@ -2,6 +2,7 @@ services: urbackup: image: uroni/urbackup-server:latest container_name: urbackup + restart: unless-stopped environment: - PUID=1000 # Enter the UID of the user who should own the files here - PGID=100 # Enter the GID of the user who should own the files here @@ -14,10 +15,34 @@ services: - /mnt/urbackup/backups:/backups # Uncomment the next line if you want to bind-mount the www-folder #- /path/to/wwwfolder:/usr/share/urbackup - network_mode: "host" + #network_mode: "host" # Uncomment the following two lines if you're using BTRFS support #cap_add: # - SYS_ADMIN # Uncomment the following two lines if you're using ZFS support #devices: - # - /dev/zfs:/dev/zfs \ No newline at end of file + # - /dev/zfs:/dev/zfs + 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/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}`) + ### 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"}]' \ No newline at end of file