blob: 7820854983960f8eb33ee10e04bc2a14a5f5f06b [file] [log] [blame]
Martin Skorupskibe5a9f42023-02-05 19:06:18 +01001# no more versions needed! Compose spec supports all features w/o a version
2services:
3
4 flows:
Martin Skorupskief18c5c2023-04-27 16:41:25 +02005 image: ${FLOWS_IMAGE}-configured
6 build:
7 context: ./flows
8 args:
9 - BASEIMAGE=${FLOWS_IMAGE}
Martin Skorupskibe5a9f42023-02-05 19:06:18 +010010 container_name: flows
11 hostname: flows
12 environment:
Martin Skorupskief18c5c2023-04-27 16:41:25 +020013 APP_VENDOR: ${APP_VENDOR}
14 APP_SOURCE: ${APP_SOURCE}
15 APP_NETWORK_FUNCTION_ID: ${APP_NETWORK_FUNCTION_ID}
16 SDN_CONTROLLER_PROTOCOL: https
Martin Skorupski470bbf52023-05-14 12:35:12 +020017 SDN_CONTROLLER_HOST: controller.dcn.${SOLUTION_DOMAIN}
Martin Skorupskief18c5c2023-04-27 16:41:25 +020018 SDN_CONTROLLER_PORT: 443
19 SDN_CONTROLLER_USERNAME: ${ADMIN_USERNAME}
20 SDN_CONTROLLER_PASSWORD: ${ADMIN_PASSWORD}
21 VES_ENDPOINT_PROTOCOL: https
Martin Skorupski470bbf52023-05-14 12:35:12 +020022 VES_ENDPOINT_HOST: ves-collector.dcn.${SOLUTION_DOMAIN}
Martin Skorupskief18c5c2023-04-27 16:41:25 +020023 VES_ENDPOINT_PORT: 443
24 VES_ENDPOINT_AUTH_METHOD: ${VES_ENDPOINT_AUTH_METHOD}
25 VES_ENDPOINT_USERNAME: ${VES_ENDPOINT_USERNAME}
26 VES_ENDPOINT_PASSWORD: ${VES_ENDPOINT_PASSWORD}
27 MESSAGES_PROTOCOL: https
28 MESSAGES_HOST: messages.${SOLUTION_DOMAIN}
29 MESSAGES_PORT: 443
30
Martin Skorupskibe5a9f42023-02-05 19:06:18 +010031 labels:
32 traefik.enable: true
33 traefik.http.routers.flows.entrypoints: websecure
34 traefik.http.routers.flows.rule: Host(`flows.oam.${SOLUTION_DOMAIN}`)
35 traefik.http.routers.flows.tls: true
36 traefik.http.services.flows.loadbalancer.server.port: 1880
37 volumes:
38 - ./flows/data:/data
39 networks:
Martin Skorupski470bbf52023-05-14 12:35:12 +020040 dmz:
Martin Skorupskibe5a9f42023-02-05 19:06:18 +010041
42networks:
Martin Skorupski470bbf52023-05-14 12:35:12 +020043 dmz:
Martin Skorupskibe5a9f42023-02-05 19:06:18 +010044 external: true