27 lines
685 B
YAML
27 lines
685 B
YAML
version: '3.8'
|
|
|
|
services:
|
|
ipmi-fan-control:
|
|
build: .
|
|
container_name: ipmi-fan-control
|
|
restart: unless-stopped
|
|
ports:
|
|
- "8000:8000"
|
|
environment:
|
|
- SECRET_KEY=${SECRET_KEY:-your-secure-secret-key-change-in-production}
|
|
- DATA_DIR=/app/data
|
|
- PANIC_TIMEOUT_SECONDS=${PANIC_TIMEOUT_SECONDS:-60}
|
|
- PANIC_FAN_SPEED=${PANIC_FAN_SPEED:-100}
|
|
volumes:
|
|
- ./data:/app/data
|
|
networks:
|
|
- ipmi-network
|
|
# Required for IPMI access to the local network
|
|
# If your servers are on a different network, adjust accordingly
|
|
extra_hosts:
|
|
- "host.docker.internal:host-gateway"
|
|
|
|
networks:
|
|
ipmi-network:
|
|
driver: bridge
|