Files
wol/.env.example
Marius Mutu 86931a091e Add flexible Flask port configuration via environment variable
- Add FLASK_PORT environment variable support in docker-compose.yml
- Update Flask app to read port from FLASK_PORT environment variable
- Add FLASK_PORT configuration to .env and .env.example files
- Enables running Flask on custom ports to avoid port conflicts in containerized environments

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-06 23:14:24 +03:00

23 lines
696 B
Plaintext

# WOL Manager Environment Configuration
# Network mode configuration
# For Windows/macOS Docker Desktop: use "bridge"
# For Linux/LXC/Proxmox: use "host" for guaranteed WOL functionality
WOL_NETWORK_MODE=bridge
# External port mapping (only used with bridge mode)
# For Windows/macOS: set the external port you want to access
# For Linux with host mode: this setting is ignored
WOL_EXTERNAL_PORT=5000
# Flask internal port (port on which Flask app runs inside container)
FLASK_PORT=5000
# Examples:
# Windows Docker Desktop:
# WOL_NETWORK_MODE=bridge
# WOL_EXTERNAL_PORT=5000
# Linux LXC/Proxmox:
# WOL_NETWORK_MODE=host
# WOL_EXTERNAL_PORT=5000 # ignored in host mode