services: filemonitor: image: docker.example.com/filemonitor:1.0 build: context: . command: - python3 - /exporter.py # some paths for testing - /data/x.txt - /data/y.txt ports: - "8080:8080" volumes: # for testing. - /home/user/downloads:/data