version: '3.3' services: urls_controller: image: 'pdf_aggregation_service/urls_controller:latest' ports: - '1880:1880' volumes: - type: bind source: $HOME/tmp/config target: /mnt/config - type: bind source: $HOME/tmp target: /tmp - type: bind source: $HOME/logs target: /logs build: dockerfile: ./Dockerfile context: . prometheus: image: 'prom/prometheus:latest' ports: - '9090:9090' command: '--config.file=/etc/prometheus/config.yml' volumes: - './src/main/resources/prometheus.yml:/etc/prometheus/config.yml' depends_on: - urls_controller grafana: image: 'grafana/grafana:latest' ports: - '3000:3000' depends_on: - urls_controller - prometheus