Compare commits
1
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
0e18e4b128 |
+5
-1
@@ -24,6 +24,10 @@ services:
|
||||
- MYSQL_PASSWORD_FILE=/run/secrets/db_password
|
||||
- MYSQL_USER=kuma
|
||||
- MYSQL_DATABASE=kuma
|
||||
# Run mariadb-upgrade automatically when the data dir is from an older
|
||||
# major version (e.g. 11.x -> 12.x). Needed because this overlay can be
|
||||
# carried across MariaDB major bumps.
|
||||
- MARIADB_AUTO_UPGRADE=1
|
||||
volumes:
|
||||
- mariadb:/var/lib/mysql
|
||||
networks:
|
||||
@@ -38,7 +42,7 @@ services:
|
||||
backupbot.backup.volumes.mariadb.path: "dump.sql.gz"
|
||||
backupbot.restore.post-hook: "gzip -d /var/lib/mysql/dump.sql.gz && mariadb -u root -p\"$$(cat /run/secrets/db_root_password)\" kuma < /var/lib/mysql/dump.sql && rm -f /var/lib/mysql/dump.sql"
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", 'mariadb-admin -u"$$MYSQL_USER" -p"$$(cat $$MYSQL_PASSWORD_FILE)" ping']
|
||||
test: ["CMD-SHELL", 'mariadb-admin -p"$$(cat $MYSQL_ROOT_PASSWORD_FILE)" ping']
|
||||
interval: 30s
|
||||
timeout: 10s
|
||||
retries: 10
|
||||
|
||||
+2
-2
@@ -3,7 +3,7 @@ version: "3.8"
|
||||
|
||||
services:
|
||||
app:
|
||||
image: louislam/uptime-kuma:2.5.0
|
||||
image: louislam/uptime-kuma:2.4.0
|
||||
volumes:
|
||||
- data:/app/data
|
||||
networks:
|
||||
@@ -27,7 +27,7 @@ services:
|
||||
#- "traefik.http.routers.${STACK_NAME}.middlewares=${STACK_NAME}-redirect"
|
||||
#- "traefik.http.middlewares.${STACK_NAME}-redirect.headers.SSLForceHost=true"
|
||||
#- "traefik.http.middlewares.${STACK_NAME}-redirect.headers.SSLHost=${DOMAIN}"
|
||||
- "coop-cloud.${STACK_NAME}.version=3.2.0+2.5.0"
|
||||
- "coop-cloud.${STACK_NAME}.version=3.1.0+2.4.0"
|
||||
- "backupbot.backup=${ENABLE_BACKUPS:-true}"
|
||||
healthcheck:
|
||||
test: "curl -L localhost:3001"
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
no action necessary
|
||||
Reference in New Issue
Block a user