# Manual EURECOM/CoreSim example for OpenOP Release 2.
# Use with deployment configuration commit 888673aa2dd32a8e3bf1357f424ebc0ca7cbfb5e.
# Image pins and startup ordering from the published e2e-harness-v1.0.1:
# https://labs.etsi.org/rep/oop/deploy/ansible/-/blob/e2e-harness-v1.0.1/ci/lab/providers/eurecom.json
# https://labs.etsi.org/rep/oop/deploy/ansible/-/blob/e2e-harness-v1.0.1/ci/eurecom_lab.py
# Extra upstream services require the optional profile and are outside this example.
services:
  as-session-with-qos:
    image: openexposure/as-session-with-qos@sha256:4751cac7d65f7957a4126b392fb8dc48dd7840f19757ee072311d89b52438c2d
  traffic-influence:
    image: openexposure/traffic-influence@sha256:adef8616f3c4ab33a4ff1037d7701c7d4b24c267d3cd477e3f84770d2c82f21a
  monitoring-event:
    image: openexposure/monitoring-event@sha256:a2e04f326a9e022ce414730469eac95d4d4c46456ded1923776d8e4c287bbab6
    depends_on:
      redis:
        condition: service_healthy
  ue-id:
    image: openexposure/ue-id@sha256:5e0e55589ff05155f7c7f8d62cc7af390da6ff79bb5e4f8be5b5d6878296b2cb
  ue-address:
    image: openexposure/ue-address@sha256:6d0131500bf642ea02c8805a414410caa6b0080d7a64e2d0ecdb436473f4e6fe
  ingress-controller:
    image: nginx@sha256:47928bf67eb62a1863cb08d9ecb52d3e704304ba614eaee17884204677702951
    depends_on:
      as-session-with-qos:
        condition: service_healthy
      traffic-influence:
        condition: service_healthy
      monitoring-event:
        condition: service_healthy
      ue-id:
        condition: service_healthy
      ue-address:
        condition: service_healthy
  ue-profile:
    image: openexposure/ue-profile-service@sha256:1f08531fc7fbff11f25bd98f0ebb7e50d944e31f2c43093195f70b618be1ce9a
    depends_on:
      redis:
        condition: service_healthy
  ue-identity:
    image: openexposure/ue-identity-service@sha256:957a3cf569222f5f3754adc2334eac71b99a3aced38196fcd367579dacb3cad7
    depends_on:
      redis:
        condition: service_healthy
  dataset-exporter:
    profiles:
    - optional
  redis:
    image: redis/redis-stack-server@sha256:798ab84d9f266936b034ab11c4d04a2b8e4b441884c5aa7d17ac951eefdf742a
    healthcheck:
      test:
      - CMD
      - redis-cli
      - ping
      interval: 2s
      timeout: 2s
      retries: 30
  redisinsight:
    profiles:
    - optional
  core-network-service:
    image: openexposure/core-network-service@sha256:8f302cadfcd090431ac796f2e3da2efbf610b9909c9c23d6e71e542e71c14ab1
    depends_on:
      redis:
        condition: service_healthy
      core-simulator:
        condition: service_healthy
  core-simulator:
    image: openexposure/core-simulator@sha256:fda2456eb123e068743841d88d4404efb5e2f08605f51c684a336f8bcd2c906b
  prometheus:
    profiles:
    - optional
  grafana:
    profiles:
    - optional
