Merge branch 'mariadb'
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
2024-11-14 13:34:50 +01:00
2 changed files with 8 additions and 5 deletions

View File

@ -3,9 +3,11 @@ version: "3.8"
services:
app:
image: louislam/uptime-kuma:1.23.11
image: git.coopcloud.tech/coop-cloud-chaos-patchs/uptime-kuma:latest
volumes:
- data:/app/data
secrets:
- db_password
networks:
- internal
- proxy
@ -17,6 +19,8 @@ services:
- UPTIME_KUMA_DB_NAME=kuma
- UPTIME_KUMA_DB_USERNAME=kuma
- UPTIME_KUMA_DB_PASSWORD_FILE=/run/secrets/db_password
depends_on:
- db
configs:
- source: app_entrypoint
target: /docker-entrypoint.sh
@ -36,7 +40,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=0.5.1+1.23.11-alpine"
- "coop-cloud.${STACK_NAME}.version=0.6.0+latest"
healthcheck:
test: "wget -nv -t1 --spider 'http://localhost:3001/' || exit 1"
interval: 30s
@ -44,7 +48,7 @@ services:
retries: 5
start_period: 2m
db:
image: mariadb:10.8
image: mariadb:11.5
environment:
- MYSQL_ROOT_PASSWORD_FILE=/run/secrets/db_root_password
- MYSQL_PASSWORD_FILE=/run/secrets/db_password

View File

@ -1,4 +1,3 @@
#!/bin/bash
set -e
@ -29,4 +28,4 @@ file_env "UPTIME_KUMA_DB_PASSWORD"
# upstream startup command
cd /app
node server/server.js
node server/server.js