docker-compose.yml 616 B

1234567891011121314151617
  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. - ./playlists.json:/app/playlists.json
  11. - ./state.json:/app/state.json
  12. devices:
  13. - "/dev/ttyACM0:/dev/ttyACM0"
  14. privileged: true
  15. environment:
  16. - FLASK_ENV=development # Set environment variables for Flask
  17. container_name: flask-theta-rho-app