Martin Skorupski | be5a9f4 | 2023-02-05 19:06:18 +0100 | [diff] [blame] | 1 | # no more versions needed! Compose spec supports all features w/o a version |
| 2 | services: |
| 3 | |
| 4 | flows: |
Martin Skorupski | ef18c5c | 2023-04-27 16:41:25 +0200 | [diff] [blame] | 5 | image: ${FLOWS_IMAGE}-configured |
| 6 | build: |
| 7 | context: ./flows |
| 8 | args: |
| 9 | - BASEIMAGE=${FLOWS_IMAGE} |
Martin Skorupski | be5a9f4 | 2023-02-05 19:06:18 +0100 | [diff] [blame] | 10 | container_name: flows |
| 11 | hostname: flows |
| 12 | environment: |
Martin Skorupski | ef18c5c | 2023-04-27 16:41:25 +0200 | [diff] [blame] | 13 | APP_VENDOR: ${APP_VENDOR} |
| 14 | APP_SOURCE: ${APP_SOURCE} |
| 15 | APP_NETWORK_FUNCTION_ID: ${APP_NETWORK_FUNCTION_ID} |
| 16 | SDN_CONTROLLER_PROTOCOL: https |
Martin Skorupski | 470bbf5 | 2023-05-14 12:35:12 +0200 | [diff] [blame^] | 17 | SDN_CONTROLLER_HOST: controller.dcn.${SOLUTION_DOMAIN} |
Martin Skorupski | ef18c5c | 2023-04-27 16:41:25 +0200 | [diff] [blame] | 18 | SDN_CONTROLLER_PORT: 443 |
| 19 | SDN_CONTROLLER_USERNAME: ${ADMIN_USERNAME} |
| 20 | SDN_CONTROLLER_PASSWORD: ${ADMIN_PASSWORD} |
| 21 | VES_ENDPOINT_PROTOCOL: https |
Martin Skorupski | 470bbf5 | 2023-05-14 12:35:12 +0200 | [diff] [blame^] | 22 | VES_ENDPOINT_HOST: ves-collector.dcn.${SOLUTION_DOMAIN} |
Martin Skorupski | ef18c5c | 2023-04-27 16:41:25 +0200 | [diff] [blame] | 23 | 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 Skorupski | be5a9f4 | 2023-02-05 19:06:18 +0100 | [diff] [blame] | 31 | 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 Skorupski | 470bbf5 | 2023-05-14 12:35:12 +0200 | [diff] [blame^] | 40 | dmz: |
Martin Skorupski | be5a9f4 | 2023-02-05 19:06:18 +0100 | [diff] [blame] | 41 | |
| 42 | networks: |
Martin Skorupski | 470bbf5 | 2023-05-14 12:35:12 +0200 | [diff] [blame^] | 43 | dmz: |
Martin Skorupski | be5a9f4 | 2023-02-05 19:06:18 +0100 | [diff] [blame] | 44 | external: true |