1
0

docker-compose.yml 412 B

12345678910111213
  1. services:
  2. flask-app:
  3. build: .
  4. ports:
  5. - "8080:8080" # Map port 8080 of the container to 8080 of the host
  6. volumes:
  7. - ./theta_rho_files:/app/theta_rho_files # Map host folder to container folder
  8. devices:
  9. - "/dev/ttyACM0:/dev/ttyACM0"
  10. privileged: true
  11. environment:
  12. - FLASK_ENV=development # Set environment variables for Flask
  13. container_name: flask-theta-rho-app