1
0

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