nova-sim / docker-compose.yml
Georg
Update Docker configuration and add frontend build process
eaf03f4
version: '3.8'
services:
nova-sim:
build: .
ports:
- "3004:5001"
environment:
# Rendering backend (osmesa = software, slow but compatible)
- MUJOCO_GL=osmesa
- PYOPENGL_PLATFORM=osmesa
# Performance settings - reduce resolution for faster software rendering
- RENDER_WIDTH=640
- RENDER_HEIGHT=360
- TARGET_FPS=30
- SIM_STEPS_PER_FRAME=10
# Threading optimization
- OMP_NUM_THREADS=4
- MKL_NUM_THREADS=4
restart: unless-stopped
# Optional: limit CPU to prevent runaway usage
# deploy:
# resources:
# limits:
# cpus: '2.0'
# memory: 2G