-
Notifications
You must be signed in to change notification settings - Fork 228
feat: add Uptime Kuma uptime monitoring service #51
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
52845d1
c339980
5859fc9
a6a3c2c
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -36,6 +36,7 @@ volumes: | |
| ragflow_redis_data: | ||
| temporal_elasticsearch_data: | ||
| valkey-data: | ||
| uptime_kuma_data: | ||
| weaviate_data: | ||
|
|
||
| # Shared logging configuration for services | ||
|
|
@@ -380,6 +381,7 @@ services: | |
| SEARXNG_PASSWORD_HASH: ${SEARXNG_PASSWORD_HASH} | ||
| SEARXNG_USERNAME: ${SEARXNG_USERNAME} | ||
| SUPABASE_HOSTNAME: ${SUPABASE_HOSTNAME} | ||
| UPTIME_KUMA_HOSTNAME: ${UPTIME_KUMA_HOSTNAME} | ||
| WAHA_HOSTNAME: ${WAHA_HOSTNAME} | ||
| WEAVIATE_HOSTNAME: ${WEAVIATE_HOSTNAME} | ||
| WEBUI_HOSTNAME: ${WEBUI_HOSTNAME} | ||
|
|
@@ -1276,3 +1278,21 @@ services: | |
| timeout: 10s | ||
| retries: 5 | ||
| start_period: 30s | ||
|
|
||
| uptime-kuma: | ||
| image: louislam/uptime-kuma:2 | ||
| container_name: uptime-kuma | ||
| profiles: ["uptime-kuma"] | ||
| restart: unless-stopped | ||
| logging: *default-logging | ||
| environment: | ||
| <<: *proxy-env | ||
| UPTIME_KUMA_WS_ORIGIN_CHECK: bypass | ||
| volumes: | ||
| - uptime_kuma_data:/app/data | ||
| healthcheck: | ||
| test: ["CMD-SHELL", "http_proxy= https_proxy= HTTP_PROXY= HTTPS_PROXY= wget -qO- http://localhost:3001/ || exit 1"] | ||
| interval: 30s | ||
| timeout: 10s | ||
| retries: 5 | ||
|
Comment on lines
+1293
to
+1297
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Healthcheck must explicitly bypass proxy variables. At Line 1293, the healthcheck command should clear proxy env vars to avoid false health failures in proxied environments. Suggested patch- test: ["CMD-SHELL", "wget -qO- http://localhost:3001/ || exit 1"]
+ test: ["CMD-SHELL", "http_proxy= https_proxy= HTTP_PROXY= HTTPS_PROXY= wget -qO- http://localhost:3001/ || exit 1"]As per coding guidelines 🤖 Prompt for AI Agents |
||
| start_period: 30s | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add shared proxy env inheritance to Uptime Kuma service.
At Line 1288, the service environment should inherit
*proxy-envso outbound checks/notifications follow the same proxy behavior as other HTTP-integrating services.Suggested patch
environment: + <<: *proxy-env UPTIME_KUMA_WS_ORIGIN_CHECK: bypassAs per coding guidelines
**/*docker-compose*.yml: "Services making outbound HTTP requests must use shared proxy anchor<<: *proxy-envto inherit GOST proxy settings".📝 Committable suggestion
🤖 Prompt for AI Agents