X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=solution%2Fsmo%2Fapps%2Fdocker-compose.yml;h=ce4eb45397da7dac897da729f4847de0ef94b06f;hb=cd1788251c44e71d0722b8b1e41f12efd8e3978e;hp=ab2dc3c67b10f9d9da2c30ff21e60fdcb4680c8f;hpb=be5a9f436d7fd8a1da2221c095463f49679c96e3;p=oam.git diff --git a/solution/smo/apps/docker-compose.yml b/solution/smo/apps/docker-compose.yml index ab2dc3c..ce4eb45 100644 --- a/solution/smo/apps/docker-compose.yml +++ b/solution/smo/apps/docker-compose.yml @@ -2,13 +2,38 @@ services: flows: - image: ${FLOWS_IMAGE} + image: ${FLOWS_IMAGE}-configured + build: + context: ./flows + args: + - BASEIMAGE=${FLOWS_IMAGE} container_name: flows hostname: flows + extra_hosts: + - "flows.oam.${SOLUTION_DOMAIN}:${HOST_IP}" environment: - - APP_VENDOR=${APP_VENDOR} - - APP_SOURCE=${APP_SOURCE} - - APP_NETWORK_FUNCTION_ID=${APP_NETWORK_FUNCTION_ID} + APP_VENDOR: ${APP_VENDOR} + APP_SOURCE: ${APP_SOURCE} + APP_NETWORK_FUNCTION_ID: ${APP_NETWORK_FUNCTION_ID} + SDN_CONTROLLER_PROTOCOL: https + SDN_CONTROLLER_HOST: controller.dcn.${SOLUTION_DOMAIN} + SDN_CONTROLLER_PORT: 443 + SDN_CONTROLLER_USERNAME: ${ADMIN_USERNAME} + SDN_CONTROLLER_PASSWORD: ${ADMIN_PASSWORD} + VES_ENDPOINT_PROTOCOL: https + VES_ENDPOINT_HOST: ves-collector.dcn.${SOLUTION_DOMAIN} + VES_ENDPOINT_PORT: 443 + VES_ENDPOINT_AUTH_METHOD: ${VES_ENDPOINT_AUTH_METHOD} + VES_ENDPOINT_USERNAME: ${VES_ENDPOINT_USERNAME} + VES_ENDPOINT_PASSWORD: ${VES_ENDPOINT_PASSWORD} + MESSAGES_PROTOCOL: https + MESSAGES_HOST: messages.${SOLUTION_DOMAIN} + MESSAGES_PORT: 443 + KAFKA_BRIDGE_PROTOCOL: https + KAFKA_BRIDGE_HOST: kafka-bridge.${SOLUTION_DOMAIN} + KAFKA_BRIDGE_PORT: 443 + KAFKA_BRIDGE_CONSUMER_GROUP: app + KAFKA_BRIDGE_CONSUMER_NAME: message-consumer labels: traefik.enable: true traefik.http.routers.flows.entrypoints: websecure @@ -18,8 +43,8 @@ services: volumes: - ./flows/data:/data networks: - smo: + dmz: networks: - smo: + dmz: external: true \ No newline at end of file