Commit 0a247a9
authored
OCI: Add
## About
The existing healtcheck endpoint http://localhost:8080/health can now be
used without much ado within Docker Compose service definitions, and it
works well.
```yaml
healthcheck:
test: ["CMD", "curl", "--fail", "http://localhost:8080/health"]
start_period: 3s
interval: 1.5s
retries: 30
timeout: 30s
```
## References
- Resolves: #418
- See also:
crate/cratedb-examples#1320 (review)curl program, to unlock Docker Compose health checks (#419)1 parent 4d649d7 commit 0a247a9
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
50 | | - | |
| 50 | + | |
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
| |||
0 commit comments