Simulated O-RUs according to conf spec
[oam.git] / solution / smo / apps / docker-compose.yml
index ab2dc3c..e3a60e3 100644 (file)
@@ -2,13 +2,32 @@
 services:
 
   flows:
-    image: ${FLOWS_IMAGE}
+    image: ${FLOWS_IMAGE}-configured
+    build:
+      context: ./flows
+      args:
+        - BASEIMAGE=${FLOWS_IMAGE}
     container_name: flows
     hostname: flows
     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.oam.${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.oam.${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
+
     labels:
       traefik.enable: true
       traefik.http.routers.flows.entrypoints: websecure