File tree Expand file tree Collapse file tree 3 files changed +15
-1
lines changed
Expand file tree Collapse file tree 3 files changed +15
-1
lines changed Original file line number Diff line number Diff line change @@ -258,4 +258,9 @@ if [ "$start_simcore" -eq 0 ]; then
258258 pushd " ${service_dir} "
259259 call_make " ." up-" $stack_target "
260260 popd
261+ log_info " starting vendor services..."
262+ service_dir=" ${repo_basedir} " /services/vendors
263+ pushd " ${service_dir} "
264+ call_make " ." up-" $stack_target "
265+ popd
261266fi
Original file line number Diff line number Diff line change @@ -43,7 +43,8 @@ services:
4343 deploy:
4444 replicas: ${VENDOR_CHATBOT_REPLICAS}
4545 placement:
46- constraints: []
46+ constraints:
47+ - node.labels.simcore==true
4748 resources:
4849 limits:
4950 cpus: "1.0"
@@ -64,6 +65,8 @@ services:
6465 - traefik.http.routers.vendor_chat.tls=true
6566 - traefik.http.routers.vendor_chat.rule={{ generate_vendors_traefik_rule(VENDOR_CHATBOT_PRODUCTS, VENDOR_CHATBOT_SUBDOMAIN_PREFIX) }}
6667 - traefik.http.routers.vendor_chat.middlewares=authenticated_platform_user@swarm
68+ - prometheus-job=vendor-chat
69+ - prometheus-port=8000
6770 networks:
6871 - public
6972networks:
Original file line number Diff line number Diff line change @@ -3,4 +3,10 @@ VENDOR_MANUAL_REPLICAS=${VENDOR_MANUAL_REPLICAS}
33VENDOR_MANUAL_SUBDOMAIN_PREFIX = ${ VENDOR_MANUAL_SUBDOMAIN_PREFIX }
44VENDOR_MANUAL_PRODUCTS = ${ VENDOR_MANUAL_PRODUCTS }
55VENDOR_MANUAL_PORT = ${ VENDOR_MANUAL_PORT }
6+ VENDOR_CHATBOT_IMAGE = ${ VENDOR_CHATBOT_IMAGE }
7+ VENDOR_CHATBOT_REPLICAS = ${ VENDOR_CHATBOT_REPLICAS }
8+ VENDOR_CHATBOT_SUBDOMAIN_PREFIX = ${ VENDOR_CHATBOT_SUBDOMAIN_PREFIX }
9+ VENDOR_CHATBOT_PRODUCTS = ${ VENDOR_CHATBOT_PRODUCTS }
10+ VENDOR_CHATBOT_PORT = ${ VENDOR_CHATBOT_PORT }
611PUBLIC_NETWORK = ${ PUBLIC_NETWORK }
12+ OTEL_EXPORTER_OTLP_ENDPOINT = ${ TRACING_OPENTELEMETRY_COLLECTOR_ENDPOINT } :${ TRACING_OPENTELEMETRY_COLLECTOR_PORT }
You can’t perform that action at this time.
0 commit comments