docker-compose.yml 561 B

12345678910111213141516
  1. services:
  2. flask-app:
  3. build: . # Uncomment this if you need to build
  4. image: ghcr.io/tuanchris/dune-weaver:main # Use latest production image
  5. restart: always
  6. ports:
  7. - "8080:8080" # Map port 8080 of the container to 8080 of the host
  8. volumes:
  9. - .:/app
  10. devices:
  11. - "/dev/ttyACM0:/dev/ttyACM0"
  12. privileged: true
  13. environment:
  14. - FLASK_ENV=development # Set environment variables for Flask
  15. - LOG_LEVEL=info # Set logging level (debug, info, warning, error, critical)
  16. container_name: flask-theta-rho-app