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

20 lines
328 B
YAML
Raw Normal View History

2023-04-10 18:52:24 +00:00
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