.env.docker.example•2.45 kB
# Homelab MCP Docker Configuration Example
# Copy this to .env and customize for your environment
# ==============================================================================
# ENABLED SERVERS
# ==============================================================================
# Comma-separated list of servers to enable
# Valid options: docker, ping
ENABLED_SERVERS=docker,ping
# ==============================================================================
# CONFIGURATION METHOD
# ==============================================================================
# Choose ONE configuration method:
# Method 1: Ansible Inventory (Recommended) - Uncomment and set path
ANSIBLE_INVENTORY_PATH=/config/ansible_hosts.yml
# Method 2: Environment Variables - Use these if not using Ansible
# (See individual server sections below)
# ==============================================================================
# DOCKER/PODMAN MCP SERVER CONFIGURATION
# ==============================================================================
# If using environment variables (not Ansible), configure your Docker/Podman endpoints:
# Docker Endpoints (format: host:port)
#DOCKER_SERVER1_ENDPOINT=192.168.1.100:2375
#DOCKER_SERVER2_ENDPOINT=192.168.1.101:2375
# Podman Endpoints (format: host:port)
#PODMAN_SERVER1_ENDPOINT=192.168.1.102:8080
# Docker/Podman Server Names (for display purposes)
#DOCKER_SERVER1_NAME=Dell-Server
#DOCKER_SERVER2_NAME=Cyber-Server
#PODMAN_SERVER1_NAME=HL15
# ==============================================================================
# PING MCP SERVER CONFIGURATION
# ==============================================================================
# If using environment variables (not Ansible), configure ping targets:
# Ping Targets (hostnames or IPs)
#PING_TARGET1=192.168.1.1
#PING_TARGET2=192.168.1.100
#PING_TARGET3=192.168.1.150
# Ping Target Names (for display purposes)
#PING_TARGET1_NAME=Gateway
#PING_TARGET2_NAME=Dell-Server
#PING_TARGET3_NAME=HL15
# Ping Configuration
#PING_COUNT=4
#PING_TIMEOUT=5
# ==============================================================================
# SECURITY NOTES
# ==============================================================================
# 1. NEVER commit this file with real credentials
# 2. Use .env for local development, Docker secrets for production
# 3. Ensure proper firewall rules restrict API access
# 4. Keep this file permissions restricted (chmod 600 .env)