Files
wehub-resource-sync e768098d0e
tools_continuous_delivery / Private PyPI non-main branch release (push) Has been skipped
tools_continuous_delivery / Private PyPI main branch release (push) Failing after 2m42s
Publish Promptflow Doc / Build (push) Has been cancelled
Publish Promptflow Doc / Deploy (push) Has been cancelled
Flake8 Lint / flake8 (push) Has been cancelled
Spell check CI / Spell_Check (push) Has been cancelled
chore: import upstream snapshot with attribution
2026-07-13 13:39:52 +08:00

63 lines
1.7 KiB
YAML

version: '3.8'
# See this on how to configure the worker and thread count:
# https://learn.microsoft.com/en-us/azure/machine-learning/prompt-flow/how-to-deploy-to-code?view=azureml-api-2&tabs=managed#configure-concurrency-for-deployment
services:
fastapi-wait-service:
image: fastapi-wait-service
container_name: fastapi-wait-service
ports:
- "50001:50001"
environment:
- MIN_WAIT_TIME_SEC=1
- MAX_WAIT_TIME_SEC=1
networks:
- my_network
# flexflow async
pf-flex-async-service:
image: pf-flex-async-service
container_name: pf-flex-async-service
ports:
- "8083:8080"
environment:
- PROMPTFLOW_WORKER_NUM=${PROMPTFLOW_WORKER_NUM}
- PROMPTFLOW_WORKER_THREADS=${PROMPTFLOW_WORKER_NUM}
- PROMPTFLOW_SERVING_ENGINE=fastapi
- MOCK_API_ENDPOINT=http://fastapi-wait-service:50001
networks:
- my_network
# static dag async
pf-static-async-service:
image: pf-static-async-service
container_name: pf-static-async-service
ports:
- "8081:8080"
environment:
- PROMPTFLOW_WORKER_NUM=${PROMPTFLOW_WORKER_NUM}
- PROMPTFLOW_WORKER_THREADS=${PROMPTFLOW_WORKER_NUM}
- PROMPTFLOW_SERVING_ENGINE=fastapi
- MOCK_API_ENDPOINT=http://fastapi-wait-service:50001
networks:
- my_network
# static dag sync
pf-static-sync-service:
image: pf-static-sync-service
container_name: pf-static-sync-service
ports:
- "8082:8080"
environment:
- PROMPTFLOW_WORKER_NUM=${PROMPTFLOW_WORKER_NUM}
- PROMPTFLOW_WORKER_THREADS=${PROMPTFLOW_WORKER_NUM}
- PROMPTFLOW_SERVING_ENGINE=flask
- MOCK_API_ENDPOINT=http://fastapi-wait-service:50001
networks:
- my_network
networks:
my_network:
driver: bridge