From e75aba093dcda47656d82b34290d756662462ea4 Mon Sep 17 00:00:00 2001 From: notplants Date: Tue, 28 Apr 2026 16:01:39 +0000 Subject: [PATCH 1/3] add healthcheck and backup labels --- compose.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/compose.yml b/compose.yml index 286f2e0..7f96a14 100644 --- a/compose.yml +++ b/compose.yml @@ -8,6 +8,12 @@ services: - proxy volumes: - "mumble_data:/data" + healthcheck: + test: ["CMD-SHELL", "bash -c 'echo > /dev/tcp/localhost/64738'"] + interval: 30s + timeout: 10s + retries: 10 + start_period: 30s deploy: restart_policy: condition: on-failure @@ -22,6 +28,11 @@ services: - "traefik.udp.routers.${STACK_NAME}.service=${STACK_NAME}-udp-service" - "traefik.udp.services.${STACK_NAME}-udp-service.loadbalancer.server.port=64738" - "coop-cloud.${STACK_NAME}.version=0.1.0+v1.6.870-0" + - "backupbot.backup=${ENABLE_BACKUPS:-true}" + - 'backupbot.backup.pre-hook=sqlite3 /data/mumble-server.sqlite ".backup /data/backup.sqlite"' + - "backupbot.backup.post-hook=rm -f /data/backup.sqlite" + - "backupbot.backup.volumes.mumble_data.path=backup.sqlite" + - "backupbot.restore.post-hook=cp /data/backup.sqlite /data/mumble-server.sqlite" networks: proxy: -- 2.49.0 From ebbd2e57dc19441988da21f85e9ce90e7b91493b Mon Sep 17 00:00:00 2001 From: notplants <@notplants> Date: Thu, 30 Apr 2026 10:36:51 -0400 Subject: [PATCH 2/3] explicitly add ENABLE_BACKUPS=true to env.sample --- .env.sample | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.env.sample b/.env.sample index dc1c153..2c3504e 100644 --- a/.env.sample +++ b/.env.sample @@ -1,4 +1,5 @@ TYPE=mumble +ENABLE_BACKUPS=true DOMAIN=mumble.example.com @@ -7,6 +8,7 @@ DOMAIN=mumble.example.com LETS_ENCRYPT_ENV=production ENV=production + # This is here so later lines can extend it; you likely don't wanna edit COMPOSE_FILE="compose.yml" -- 2.49.0 From dde7691e53cf08c8ee258c9460c7057cff3c9733 Mon Sep 17 00:00:00 2001 From: notplants <@notplants> Date: Thu, 30 Apr 2026 11:04:01 -0400 Subject: [PATCH 3/3] update readme and use mv instead of cp in restore.post-hook --- README.md | 6 +++--- compose.yml | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 91ad78a..2e5f43d 100644 --- a/README.md +++ b/README.md @@ -8,10 +8,10 @@ Low latency, high quality voice chat application. * **Maintainer**: [@amras](https://git.coopcloud.tech/amras) * **Category**: Apps -* **Status**: 1, alpha +* **Status**: 3, stable * **Image**: [mumblevoip/mumble-server](https://hub.docker.com/r/mumblevoip/mumble-server), 4, official -* **Healthcheck**: No -* **Backups**: No +* **Healthcheck**: Yes +* **Backups**: Yes * **Email**: N/A * **Tests**: No * **SSO**: N/A diff --git a/compose.yml b/compose.yml index 7f96a14..4c0bbe4 100644 --- a/compose.yml +++ b/compose.yml @@ -32,7 +32,7 @@ services: - 'backupbot.backup.pre-hook=sqlite3 /data/mumble-server.sqlite ".backup /data/backup.sqlite"' - "backupbot.backup.post-hook=rm -f /data/backup.sqlite" - "backupbot.backup.volumes.mumble_data.path=backup.sqlite" - - "backupbot.restore.post-hook=cp /data/backup.sqlite /data/mumble-server.sqlite" + - "backupbot.restore.post-hook=mv /data/backup.sqlite /data/mumble-server.sqlite" networks: proxy: -- 2.49.0