diff --git a/services/compose.yaml b/services/compose.yaml new file mode 100644 index 0000000..09c5f6c --- /dev/null +++ b/services/compose.yaml @@ -0,0 +1,26 @@ +name: mpei-iis-system + +services: + + prices-predictor: + image: ml_service:2 + ports: + - "8010:8000" + volumes: + - './models:/models' + + load-tester: + image: load_tester:1 + environment: + API_BASE_URL: "http://prices-predictor:8000/api" + deploy: + replicas: 2 + + prometheus: + image: prom/prometheus:v3.7.3 + ports: + - "9090:9090" + command: + - "--config.file=/etc/prometheus/prometheus.yaml" + volumes: + - "./prometheus/prometheus.yaml:/etc/prometheus/prometheus.yaml:ro"