Update uptime Kuma for auto uptime
This commit is contained in:
@@ -1,42 +1,35 @@
|
|||||||
services:
|
services:
|
||||||
uptime-kuma:
|
uptimekuma:
|
||||||
image: louislam/uptime-kuma:2
|
image: louislam/uptime-kuma:2
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
labels:
|
||||||
|
kuma.uptimekuma.http.name: "Uptime Kuma"
|
||||||
|
kuma.uptimekuma.http.url: "http://192.168.0.60:3001" # fixed typo
|
||||||
volumes:
|
volumes:
|
||||||
- ./data:/app/data
|
- ./data:/app/data
|
||||||
ports:
|
ports:
|
||||||
# <Host Port>:<Container Port>
|
|
||||||
- "3001:3001"
|
- "3001:3001"
|
||||||
|
|
||||||
autokuma:
|
autokuma:
|
||||||
image: ghcr.io/bigboot/autokuma:master
|
image: ghcr.io/bigboot/autokuma:master
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
depends_on:
|
||||||
|
- uptimekuma
|
||||||
environment:
|
environment:
|
||||||
AUTOKUMA__KUMA__URL: http://localhost:3001
|
AUTOKUMA__KUMA__URL: http://192.168.0.60:3001
|
||||||
AUTOKUMA__KUMA__USERNAME: jester45
|
AUTOKUMA__KUMA__USERNAME: jester
|
||||||
# AUTOKUMA__KUMA__PASSWORD: <password>
|
AUTOKUMA__KUMA__PASSWORD: /run/secrets/uptime_pass
|
||||||
AUTOKUMA__KUMA__MFA_TOKEN: uk1_gtIZ8yNaoJLJp_UR8yfJSuRr-YePY5oqs07a_EGG
|
AUTOKUMA__KUMA__TLS__VERIFY: 0
|
||||||
# AUTOKUMA__KUMA__HEADERS: "<header1_key>=<header1_value>,<header2_key>=<header2_value>,..."
|
|
||||||
# AUTOKUMA__KUMA__CALL_TIMEOUT: 5
|
|
||||||
# AUTOKUMA__KUMA__CONNECT_TIMEOUT: 5
|
|
||||||
AUTOKUMA__TAG_NAME: AutoKuma
|
AUTOKUMA__TAG_NAME: AutoKuma
|
||||||
#AUTOKUMA__TAG_COLOR: "#42C0FB"
|
AUTOKUMA__DOCKER__HOSTS: unix:///var/run/docker.sock
|
||||||
# AUTOKUMA__DEFAULT_SETTINGS: |-
|
|
||||||
# docker.docker_container: {{container_name}}
|
|
||||||
# http.max_redirects: 10
|
|
||||||
# *.max_retries: 3
|
|
||||||
# AUTOKUMA__SNIPPETS__WEB: |-
|
|
||||||
# {{container_name}}_http.http.name: {{container_name}} HTTP
|
|
||||||
# {{container_name}}_http.http.url: https://{{ args[0] }}:{{ args[1] }}
|
|
||||||
# {{container_name}}_docker.docker.name: {{container_name}} Docker
|
|
||||||
# {{container_name}}_docker.docker.docker_container: {{container_name}}
|
|
||||||
# AUTOKUMA__DOCKER__HOSTS: unix:///var/run/docker.sock
|
|
||||||
# AUTOKUMA__DOCKER__HOSTS: '[{"url":"tcp://docker-a:2376","tls_verify":true,"tls_cert_path":"/certs/docker-a"}]'
|
|
||||||
# AUTOKUMA__DOCKER__LABEL_PREFIX: kuma
|
|
||||||
# AUTOKUMA__DOCKER__EXCLUDE_CONTAINER_PATTERNS: "^[a-f0-9]{12}_.*_" # Exclude Docker Compose temporary containers
|
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
- /var/run/docker.sock:/var/run/docker.sock
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
- autokuma-data:/data
|
- autokuma-data:/data
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
autokuma-data:
|
autokuma-data:
|
||||||
|
|
||||||
|
|
||||||
|
secrets:
|
||||||
|
uptime_pass:
|
||||||
|
file: ./secrets/uptimekuma.pass
|
||||||
Reference in New Issue
Block a user