version: '3.8' services: dashboard: build: . container_name: samcloud-dashboard ports: - "8383:8383" volumes: # Mount source code for live reload - .:/app # Mount system directories for monitoring - /Volumes:/Volumes:ro - /Users:/Users:ro environment: - FLASK_ENV=development - FLASK_DEBUG=1 - FLASK_APP=samcloud_app.py - FLASK_RUN_EXTRA_FILES=/app/templates:/app/static - PYTHONUNBUFFERED=1 - FLASK_RUN_HOST=0.0.0.0 - FLASK_RUN_PORT=8383 - HOST_SYSTEM=1 command: python -m flask run --debug --host=0.0.0.0 --port=8383 --extra-files templates:static restart: unless-stopped privileged: true networks: dashboard_network: driver: bridge