Skip to content

Commit e128fea

Browse files
add a healthcheck
1 parent d7a6705 commit e128fea

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

compose.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,4 +42,6 @@ services:
4242
mode: host
4343
environment:
4444
- OPENAI_API_KEY=${OPENAI_API_KEY}
45-
- API_ROUTE_PREFIX=/api/v1
45+
- API_ROUTE_PREFIX=/api/v1
46+
healthcheck:
47+
test: ["CMD", "curl", "-f", "http://localhost/health"]

0 commit comments

Comments
 (0)