services: app: build: context: . dockerfile: Dockerfile environment: - APP_PORT=9100 ports: - 9100:9100 app2: build: context: . dockerfile: Dockerfile environment: - APP_PORT=9200 ports: - 9200:9200 grafana: image: grafana/grafana:latest ports: - 3000:3000 prometheus: image: prom/prometheus:latest command: --config.file=/etc/prometheus/prometheus.yml --enable-feature=native-histograms ports: - 9090:9090 volumes: - ./volumes/prometheus/prometheus.yaml:/etc/prometheus/prometheus.yml