Skip to content

Commit 060432c

Browse files
add llm container healthcheck
1 parent 943959b commit 060432c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

compose.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,8 @@ services:
5959
mode: host
6060
environment:
6161
- OPENAI_API_KEY=${OPENAI_API_KEY}
62+
healthcheck:
63+
test: ["CMD", "curl", "-f", "http://localhost/health"]
6264

6365
discord-bot:
6466
restart: unless-stopped

0 commit comments

Comments
 (0)