version: '3.8' services: offlineu: build: . container_name: offlineu-app ports: - "5000:5000" environment: - FLASK_ENV=production volumes: # Course library — grouped/browsable via the new Library view - /volume1/files/training:/app/courses # Progress data persistence - ./data:/app/data restart: unless-stopped healthcheck: test: ["CMD", "curl", "-f", "http://localhost:5000/"] interval: 30s timeout: 10s retries: 3 start_period: 40s