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

18 lines
276 B
YAML

services:
filemonitor:
image: docker.example.com/filemonitor:1.0
build:
context: .
command:
- python3
- /exporter.py
- /data/x.txt
- /data/y.txt
ports:
- "8080:8080"
volumes:
- /home/erik/downloads:/data