Files
wol/docker-compose.yml
Marius Mutu 616763c603 Configure flexible deployment with environment variables
- Change Flask port from 8080 to 5000 for consistency
- Add environment-based network mode configuration (bridge/host)
- Support both Windows Docker Desktop and Linux LXC deployments
- Remove obsolete docker-compose version and conflicting network settings
- Add .env.example with platform-specific configuration guidance

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-04 18:00:08 +03:00

16 lines
355 B
YAML

services:
wol-web:
build: .
container_name: wol-manager
restart: unless-stopped
ports:
- "${WOL_EXTERNAL_PORT:-5000}:5000"
volumes:
- ./data:/data
environment:
- PYTHONUNBUFFERED=1
network_mode: "${WOL_NETWORK_MODE:-bridge}"
privileged: true
cap_add:
- NET_ADMIN
- NET_RAW