chore: mirror docker healthcheck in compose
This commit is contained in:
1 parent
eae17dc564
commit
cadb555ed9
1 file changed
+6
@@ -19,3 +19,9 @@ services:
|
||||
volumes:
|
||||
- ./voices:/app/voices
|
||||
- ./models:/app/models
|
||||
healthcheck:
|
||||
test: ["CMD", "curl", "-f", "http://127.0.0.1:7860/health"]
|
||||
interval: 30s
|
||||
timeout: 10s
|
||||
retries: 3
|
||||
start_period: 30s
|
||||
Reference in new issue
Block a user