version: '3.8' services: sre-agent: build: . ports: - "8080:8080" environment: - OPENAI_API_KEY=${OPENAI_API_KEY} - PROMETHEUS_URL=http://prometheus:9090 - PORT=8080 depends_on: - prometheus volumes: - ./web:/root/web prometheus: image: prom/prometheus:latest ports: - "9090:9090" volumes: - ./prometheus.yml:/etc/prometheus/prometheus.yml command: - '--config.file=/etc/prometheus/prometheus.yml' node-exporter: image: prom/node-exporter:latest ports: - "9100:9100"