X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=test%2Fsimulator-group%2Fmrstub%2Fdocker-compose.yml;fp=test%2Fsimulator-group%2Fconsul_cbs%2Fconsul%2Fcbs_localhost_config.hcl;h=02f80a31bb7da25ba45d4257df93e41aefa4ee04;hb=e0b665e3ff544bb78411bdc7f6b3ba2818fdeed4;hp=ff0bd310ca8802e2f5873b12039c05249f371f2e;hpb=bfe1c4049297589c4ade863b12e3d6a6cb7abc99;p=nonrtric.git diff --git a/test/simulator-group/consul_cbs/consul/cbs_localhost_config.hcl b/test/simulator-group/mrstub/docker-compose.yml similarity index 63% rename from test/simulator-group/consul_cbs/consul/cbs_localhost_config.hcl rename to test/simulator-group/mrstub/docker-compose.yml index ff0bd310..02f80a31 100644 --- a/test/simulator-group/consul_cbs/consul/cbs_localhost_config.hcl +++ b/test/simulator-group/mrstub/docker-compose.yml @@ -15,14 +15,22 @@ # ============LICENSE_END================================================= # -service { - # Name for CBS in consul, env var CONFIG_BINDING_SERVICE - # should be passed to Policy Agent app with this value - # This is only to be used when contacting cbs via local host - # (typicall when Policy Agent is executed as an application without a container) - Name = "config-binding-service-localhost" - # Host name where CBS is running - Address = "localhost" - # Port number where CBS is running - Port = 10000 -} \ No newline at end of file +version: '3.0' +networks: + default: + external: + name: ${DOCKER_SIM_NWNAME} +services: + mr-stub: + networks: + - default + container_name: ${MR_STUB_APP_NAME} + image: ${MRSTUB_IMAGE} + ports: + - ${MR_STUB_LOCALHOST_PORT}:${MR_INTERNAL_PORT} + - ${MR_STUB_LOCALHOST_SECURE_PORT}:${MR_INTERNAL_SECURE_PORT} + volumes: + - ${MR_STUB_CERT_MOUNT_DIR}:/usr/src/app/cert:ro + environment: + - TOPIC_READ=${TOPIC_READ} + - TOPIC_WRITE=${TOPIC_WRITE}