From be5a9f436d7fd8a1da2221c095463f49679c96e3 Mon Sep 17 00:00:00 2001 From: Martin Skorupski Date: Sun, 5 Feb 2023 19:06:18 +0100 Subject: [PATCH] Add a FlowManagement Component - create docker-compose for apps IssueID: OAM-308 Change-Id: Ifdb1db4575a039f6830798ce2a7909cf1dd79835 Signed-off-by: Martin Skorupski --- solution/smo/apps/docker-compose.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 solution/smo/apps/docker-compose.yml 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 -- 2.16.6