Skip to content

Commit 1611884

Browse files
add health check
1 parent 3936cf1 commit 1611884

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

docker/compose.app.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,12 @@ services:
1919
- '7860'
2020
networks:
2121
- shared-network
22+
healthcheck:
23+
test: ["CMD", "curl", "-f", "http://localhost:7860/"]
24+
interval: 30s
25+
timeout: 10s
26+
retries: 3
27+
start_period: 20s
2228
logging:
2329
driver: "json-file"
2430
options:

0 commit comments

Comments
 (0)