version: "3.3" services: exporter: build: . ports: - 8888:8888 command: python3 -u /usr/src/process.py rtsp://ubnt:ubnt@10.8.0.124:554/live/ch00_0 restart: always prometheus: image: prom/prometheus:v2.17.1 volumes: - ./prometheus.yml:/prometheus/prometheus.yml command: - '--config.file=/prometheus/prometheus.yml' ports: - 9090:9090 restart: always