Add a FlowManagement Component 88/10388/1
authorMartin Skorupski <martin.skorupski@highstreet-technologies.com>
Sun, 5 Feb 2023 18:06:18 +0000 (19:06 +0100)
committerMartin Skorupski <martin.skorupski@highstreet-technologies.com>
Sun, 5 Feb 2023 18:06:29 +0000 (19:06 +0100)
- create docker-compose for apps

IssueID: OAM-308
Change-Id: Ifdb1db4575a039f6830798ce2a7909cf1dd79835
Signed-off-by: Martin Skorupski <martin.skorupski@highstreet-technologies.com>
solution/smo/apps/docker-compose.yml [new file with mode: 0644]

diff --git a/solution/smo/apps/docker-compose.yml b/solution/smo/apps/docker-compose.yml
new file mode 100644 (file)
index 0000000..ab2dc3c
--- /dev/null
@@ -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