code/etcd-inmemory-monitoring/docker-compose.yaml

20 lines
328 B
YAML

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