# ============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}