docker-compose.yml 372 B

123456789101112131415
  1. version: '3.3'
  2. services:
  3. rfidac:
  4. build: .
  5. container_name: rfidac
  6. image: toastie/rfidac
  7. devices:
  8. - '/dev/input/event0:/dev/input/event0'
  9. environment:
  10. - mpd_host=${mpd_host}
  11. - mpd_folder=${mpd_folder}
  12. volumes:
  13. - ../mopidy/data/mopidy/music:/music
  14. - ./data:/opt
  15. command: ["/usr/bin/python3","-u","/opt/rfidac.py"]