feat: Add multi-cluster support with JSON config
All checks were successful
Build and Push Proxmox MCP Docker Image / build (push) Successful in 8s
All checks were successful
Build and Push Proxmox MCP Docker Image / build (push) Successful in 8s
This commit is contained in:
@@ -3,27 +3,12 @@ services:
|
||||
image: gitea.ext.ben.io/b3nw/proxmox-mcp-custom:latest
|
||||
container_name: proxmox-mcp
|
||||
environment:
|
||||
# --- Proxmox API Credentials ---
|
||||
# Base URL of your Proxmox VE instance (host:port, no https://)
|
||||
- PROXMOX_URL=hostname:8006
|
||||
|
||||
# Proxmox API User - full "user@realm" format
|
||||
# Example: root@pam, admin@pve, proxmox-mcp@pam
|
||||
- PROXMOX_USER=proxmox-mcp@pam
|
||||
|
||||
# Proxmox API Token ID - JUST the token name, NOT the full ID
|
||||
# If your full token is "proxmox-mcp@pam!mytoken", use only "mytoken"
|
||||
- PROXMOX_TOKEN_ID=token
|
||||
|
||||
# Proxmox API Token Secret (the UUID-like value)
|
||||
- PROXMOX_PASSWORD=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
|
||||
|
||||
# SSL verification - 'false' for self-signed certs in homelab
|
||||
- PROXMOX_VERIFY_SSL=false
|
||||
|
||||
# --- MCP Transport Security ---
|
||||
# Allowed Host headers (comma-separated, supports :* for wildcard ports)
|
||||
- MCP_ALLOWED_HOSTS=hostname,localhost:*,127.0.0.1:*
|
||||
- MCP_ALLOWED_HOSTS=proxmox-mcp.example.io,localhost:*,127.0.0.1:*
|
||||
volumes:
|
||||
# Mount your clusters.json configuration file
|
||||
- ./clusters.json:/app/clusters.json:ro
|
||||
ports:
|
||||
- "8000:8000"
|
||||
restart: unless-stopped
|
||||
|
||||
Reference in New Issue
Block a user