mirror of
https://github.com/Skyvern-AI/skyvern.git
synced 2025-09-02 02:30:07 +00:00
add skyvern container health check (#374)
This commit is contained in:
parent
eab07939f5
commit
6dbc1d2dbd
1 changed files with 8 additions and 1 deletions
|
@ -37,6 +37,7 @@ services:
|
||||||
- OPENAI_API_KEY=<your_openai_key>
|
- OPENAI_API_KEY=<your_openai_key>
|
||||||
# If you want to use other LLM provider, like azure and anthropic:
|
# If you want to use other LLM provider, like azure and anthropic:
|
||||||
# - ENABLE_ANTHROPIC=true
|
# - ENABLE_ANTHROPIC=true
|
||||||
|
# - LLM_KEY=ANTHROPIC_CLAUDE3_OPUS
|
||||||
# - ANTHROPIC_API_KEY=<your_anthropic_key>
|
# - ANTHROPIC_API_KEY=<your_anthropic_key>
|
||||||
# - ENABLE_AZURE=true
|
# - ENABLE_AZURE=true
|
||||||
# - LLM_KEY=AZURE_OPENAI_GPT4V
|
# - LLM_KEY=AZURE_OPENAI_GPT4V
|
||||||
|
@ -47,6 +48,11 @@ services:
|
||||||
depends_on:
|
depends_on:
|
||||||
postgres:
|
postgres:
|
||||||
condition: service_healthy
|
condition: service_healthy
|
||||||
|
healthcheck:
|
||||||
|
test: ["CMD", "test", "-f", "/app/.streamlit/secrets.toml"]
|
||||||
|
interval: 5s
|
||||||
|
timeout: 5s
|
||||||
|
retries: 5
|
||||||
|
|
||||||
streamlit:
|
streamlit:
|
||||||
image: public.ecr.aws/t6d4b5t4/skyvern:latest
|
image: public.ecr.aws/t6d4b5t4/skyvern:latest
|
||||||
|
@ -60,5 +66,6 @@ services:
|
||||||
- ./.streamlit:/app/.streamlit
|
- ./.streamlit:/app/.streamlit
|
||||||
command: ["/bin/bash", "entrypoint-streamlit.sh"]
|
command: ["/bin/bash", "entrypoint-streamlit.sh"]
|
||||||
depends_on:
|
depends_on:
|
||||||
- skyvern
|
skyvern:
|
||||||
|
condition: service_healthy
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue