docker-compose.yml 534 B

123456789101112131415
  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. - ./patterns:/app/patterns # Map host folder to container folder
  10. devices:
  11. - "/dev/ttyACM0:/dev/ttyACM0"
  12. privileged: true
  13. environment:
  14. - FLASK_ENV=development # Set environment variables for Flask
  15. container_name: flask-theta-rho-app