networks: infra_dev_net: external: true volumes: prom_data: driver: local services: prometheus: image: prom/prometheus container_name: prometheus command: '--config.file=/etc/prometheus/prometheus.yml' restart: unless-stopped ports: - '9090:9090' volumes: - ./prometheus:/etc/prometheus - prom_data:/prometheus networks: infra_dev_net: ipv4_address: 10.99.23.32