Skip to content

Commit

Permalink
Update kuma, add api
Browse files Browse the repository at this point in the history
  • Loading branch information
elliotmatson committed Dec 26, 2024
1 parent 51f2d74 commit 42fe26c
Showing 1 changed file with 31 additions and 1 deletion.
32 changes: 31 additions & 1 deletion status/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
version: "3"
services:
kuma:
image: louislam/uptime-kuma:2.0.0-beta.0
image: louislam/uptime-kuma:2.0.0-beta.1
environment:
- TZ=America/Chicago
volumes:
Expand All @@ -12,6 +12,7 @@ services:
depends_on:
- kuma-tailscale
network_mode: service:kuma-tailscale

kuma-tailscale:
image: ghcr.io/elliotmatson/tailscale-sidecar-proxy:1.78.3
restart: always
Expand All @@ -26,6 +27,34 @@ services:
volumes:
- tailscale-state:/var/lib/tailscale

uptime-buddy-api:
image: schech1/uptime-buddy-api:latest
restart: always
#ports:
# - "5005:5005" # If you change the port, also change the PORT Env var
environment:
- UPTIME_KUMA_URL=https://status.tail5c441.ts.net/ # e.g. http://192.168.1.34:3002/
- EXTERNAL_URL=https://status.tail5c441.ts.net # Optional: e.g. https://uptime.domain.com Use this if you want to use the Qr code feature
- USERNAME=${UPTIME_BUDDY_USER:?err} #Optional: remove line if auth is disabled in Uptime Kuma
- PASSWORD=${UPTIME_BUDDY_PASSWORD:?err} #Optional: remove line if auth is disabled in Uptime Kuma
- TOKEN=${UPTIME_BUDDY_TOKEN:?err}
- MFA=true #Is 2FA enabled in Uptime Kuma?
network_mode: service:buddy-tailscale

buddy-tailscale:
image: ghcr.io/elliotmatson/tailscale-sidecar-proxy:1.78.3
restart: always
environment:
TAILSCALE_SSH: true
TAILSCALE_STATE_DIR: /var/lib/tailscale
TAILSCALE_SERVE_SOURCE_MODE: http
TAILSCALE_AUTH_KEY: ${TS_AUTH_KEY:?err}
TAILSCALE_HOSTNAME: status-api
TAILSCALE_FUNNEL: true
TAILSCALE_SERVE_PORT: 5005
volumes:
- buddy-tailscale-state:/var/lib/tailscale

# api:
# image: medaziz11/uptimekuma_restapi:latest
# volumes:
Expand Down Expand Up @@ -53,5 +82,6 @@ services:
volumes:
kuma-db:
tailscale-state:
buddy-tailscale-state:
# api-db:

0 comments on commit 42fe26c

Please sign in to comment.