Add a FlowManagement Component
[oam.git] / solution / smo / apps / docker-compose.yml
1 # no more versions needed! Compose spec supports all features w/o a version
2 services:
3
4   flows:
5     image: ${FLOWS_IMAGE}
6     container_name: flows
7     hostname: flows
8     environment:
9       - APP_VENDOR=${APP_VENDOR}
10       - APP_SOURCE=${APP_SOURCE}
11       - APP_NETWORK_FUNCTION_ID=${APP_NETWORK_FUNCTION_ID}
12     labels:
13       traefik.enable: true
14       traefik.http.routers.flows.entrypoints: websecure
15       traefik.http.routers.flows.rule: Host(`flows.oam.${SOLUTION_DOMAIN}`)
16       traefik.http.routers.flows.tls: true
17       traefik.http.services.flows.loadbalancer.server.port: 1880
18     volumes:
19       - ./flows/data:/data
20     networks:
21       smo:
22
23 networks:
24   smo:
25     external: true