start viewer as well
This commit is contained in:
@@ -12,6 +12,7 @@ x-common-config: &common-config
|
|||||||
- ./configs:/app/configs
|
- ./configs:/app/configs
|
||||||
- ./scripts:/app/scripts
|
- ./scripts:/app/scripts
|
||||||
- ./assets:/app/assets
|
- ./assets:/app/assets
|
||||||
|
- ./static:/app/static
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD", "python", "-c", "import urllib.request; urllib.request.urlopen('http://0.0.0.0:8588/health')"]
|
test: ["CMD", "python", "-c", "import urllib.request; urllib.request.urlopen('http://0.0.0.0:8588/health')"]
|
||||||
interval: 30s
|
interval: 30s
|
||||||
@@ -34,4 +35,17 @@ services:
|
|||||||
"react", "--sys-prompt-f", "configs/prompts/blueberry.txt",
|
"react", "--sys-prompt-f", "configs/prompts/blueberry.txt",
|
||||||
"--tool-manager-config.client-tool-manager.tool-keys"]
|
"--tool-manager-config.client-tool-manager.tool-keys"]
|
||||||
ports:
|
ports:
|
||||||
- "8589:8588"
|
- "8589:8588"
|
||||||
|
|
||||||
|
viewer:
|
||||||
|
<<: *common-config
|
||||||
|
container_name: viewer
|
||||||
|
command: ["python", "fastapi_server/server_viewer.py"]
|
||||||
|
ports:
|
||||||
|
- "8590:8590"
|
||||||
|
healthcheck:
|
||||||
|
test: ["CMD", "python", "-c", "import urllib.request; urllib.request.urlopen('http://0.0.0.0:8590/health')"]
|
||||||
|
interval: 30s
|
||||||
|
timeout: 10s
|
||||||
|
retries: 3
|
||||||
|
start_period: 40s
|
||||||
Reference in New Issue
Block a user