1
0

docker-compose.yml 593 B

1234567891011121314151617
  1. services:
  2. flask-app:
  3. tty: true
  4. build: . # Uncomment this if you need to build
  5. image: ghcr.io/tuanchris/dune-weaver:main # Use latest production image
  6. restart: always
  7. ports:
  8. - "8080:8080" # Map port 8080 of the container to 8080 of the host
  9. volumes:
  10. - ./patterns:/app/patterns # Map host folder to container folder
  11. - ./playlists.json:/app/playlists.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