Add a FlowManagement Component
- create docker-compose for apps
IssueID: OAM-308
Change-Id: Ifdb1db4575a039f6830798ce2a7909cf1dd79835
Signed-off-by: Martin Skorupski <martin.skorupski@highstreet-technologies.com>
diff --git a/solution/smo/apps/docker-compose.yml b/solution/smo/apps/docker-compose.yml
new file mode 100644
index 0000000..ab2dc3c
--- /dev/null
+++ b/solution/smo/apps/docker-compose.yml
@@ -0,0 +1,25 @@
+# no more versions needed! Compose spec supports all features w/o a version
+services:
+
+ flows:
+ image: ${FLOWS_IMAGE}
+ container_name: flows
+ hostname: flows
+ environment:
+ - APP_VENDOR=${APP_VENDOR}
+ - APP_SOURCE=${APP_SOURCE}
+ - APP_NETWORK_FUNCTION_ID=${APP_NETWORK_FUNCTION_ID}
+ labels:
+ traefik.enable: true
+ traefik.http.routers.flows.entrypoints: websecure
+ traefik.http.routers.flows.rule: Host(`flows.oam.${SOLUTION_DOMAIN}`)
+ traefik.http.routers.flows.tls: true
+ traefik.http.services.flows.loadbalancer.server.port: 1880
+ volumes:
+ - ./flows/data:/data
+ networks:
+ smo:
+
+networks:
+ smo:
+ external: true
\ No newline at end of file