docker-compose.yml 400 B

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