hj
Some checks are pending
Deploy on push / detect (push) Waiting to run
Deploy on push / deploy_swarm (push) Blocked by required conditions
Deploy on push / deploy_compose (push) Blocked by required conditions

This commit is contained in:
traveler 2026-03-28 21:28:00 -05:00
parent edcad74b32
commit 890a79ffdd

View file

@ -7,8 +7,6 @@ services:
image: ghcr.io/pouzor/homelable-frontend:latest image: ghcr.io/pouzor/homelable-frontend:latest
networks: networks:
- netgrimoire - netgrimoire
environment:
- VITE_API_URL=https://homelable-api.netgrimoire.com
deploy: deploy:
replicas: 1 replicas: 1
placement: placement:
@ -26,6 +24,8 @@ services:
homepage.description: Homelab infrastructure visualizer homepage.description: Homelab infrastructure visualizer
# --- Uptime Kuma --- # --- Uptime Kuma ---
kuma.homelable.http.url: https://homelable.netgrimoire.com kuma.homelable.http.url: https://homelable.netgrimoire.com
# --- DIUN ---
diun.enable: "true"
backend: backend:
image: ghcr.io/pouzor/homelable-backend:latest image: ghcr.io/pouzor/homelable-backend:latest
@ -37,8 +37,10 @@ services:
- SECRET_KEY=${SECRET_KEY} - SECRET_KEY=${SECRET_KEY}
- AUTH_USERNAME=${AUTH_USERNAME} - AUTH_USERNAME=${AUTH_USERNAME}
- AUTH_PASSWORD_HASH=${AUTH_PASSWORD_HASH} - AUTH_PASSWORD_HASH=${AUTH_PASSWORD_HASH}
- SCANNER_RANGES=${SCANNER_RANGES:-["192.168.3.0/24","192.168.4.0/24","192.168.5.0/24"]} - SCANNER_RANGES=${SCANNER_RANGES}
- STATUS_CHECKER_INTERVAL=${STATUS_CHECKER_INTERVAL:-60} - STATUS_CHECKER_INTERVAL=${STATUS_CHECKER_INTERVAL:-60}
- SQLITE_PATH=/app/data/homelab.db
- CORS_ORIGINS=["https://homelable.netgrimoire.com"]
cap_add: cap_add:
- NET_RAW - NET_RAW
- NET_ADMIN - NET_ADMIN
@ -53,28 +55,5 @@ services:
caddy.reverse_proxy: "{{upstreams 8000}}" caddy.reverse_proxy: "{{upstreams 8000}}"
# --- Uptime Kuma --- # --- Uptime Kuma ---
kuma.homelable-api.http.url: https://homelable-api.netgrimoire.com/health kuma.homelable-api.http.url: https://homelable-api.netgrimoire.com/health
# --- DIUN ---
mcp:
image: ghcr.io/pouzor/homelable-mcp:latest
networks:
- netgrimoire
environment:
# Authenticates external MCP clients (Open WebUI, Claude Code, n8n)
- MCP_API_KEY=${MCP_API_KEY}
# Authenticates MCP server -> backend (internal only, never exposed)
- MCP_SERVICE_KEY=${MCP_SERVICE_KEY}
- BACKEND_URL=http://backend:8000
deploy:
replicas: 1
placement:
constraints:
- node.hostname == znas
labels:
# --- Caddy reverse proxy ---
# Exposed for Claude Code on remote machines — remove label if LAN-only preferred
caddy: homelable-mcp.netgrimoire.com
caddy.reverse_proxy: "{{upstreams 8001}}"
# --- Uptime Kuma ---
kuma.homelable-mcp.http.url: https://homelable-mcp.netgrimoire.com/health
# --- DIUN image update notifications ---
diun.enable: "true" diun.enable: "true"