version: '3.3' services: rfidac: build: . container_name: rfidac image: toastie/rfidac restart: unless-stopped devices: - '/dev/input/event0:/dev/input/event0' environment: - mpd_host=${mpd_host} - mpd_folder=${mpd_folder} volumes: - ../mopidy/data/mopidy/music:/music - ./data:/opt command: ["/usr/bin/python3","-u","/opt/rfidac.py"]