hj
This commit is contained in:
parent
edcad74b32
commit
890a79ffdd
1 changed files with 6 additions and 27 deletions
|
|
@ -7,8 +7,6 @@ services:
|
|||
image: ghcr.io/pouzor/homelable-frontend:latest
|
||||
networks:
|
||||
- netgrimoire
|
||||
environment:
|
||||
- VITE_API_URL=https://homelable-api.netgrimoire.com
|
||||
deploy:
|
||||
replicas: 1
|
||||
placement:
|
||||
|
|
@ -26,6 +24,8 @@ services:
|
|||
homepage.description: Homelab infrastructure visualizer
|
||||
# --- Uptime Kuma ---
|
||||
kuma.homelable.http.url: https://homelable.netgrimoire.com
|
||||
# --- DIUN ---
|
||||
diun.enable: "true"
|
||||
|
||||
backend:
|
||||
image: ghcr.io/pouzor/homelable-backend:latest
|
||||
|
|
@ -37,8 +37,10 @@ services:
|
|||
- SECRET_KEY=${SECRET_KEY}
|
||||
- AUTH_USERNAME=${AUTH_USERNAME}
|
||||
- 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}
|
||||
- SQLITE_PATH=/app/data/homelab.db
|
||||
- CORS_ORIGINS=["https://homelable.netgrimoire.com"]
|
||||
cap_add:
|
||||
- NET_RAW
|
||||
- NET_ADMIN
|
||||
|
|
@ -53,28 +55,5 @@ services:
|
|||
caddy.reverse_proxy: "{{upstreams 8000}}"
|
||||
# --- Uptime Kuma ---
|
||||
kuma.homelable-api.http.url: https://homelable-api.netgrimoire.com/health
|
||||
|
||||
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 ---
|
||||
diun.enable: "true"
|
||||
Loading…
Add table
Add a link
Reference in a new issue