healthcheck
This commit is contained in:
parent
1c1689d328
commit
ff3fa1fe0a
1 changed files with 12 additions and 0 deletions
|
|
@ -19,3 +19,15 @@ services:
|
||||||
- PIP_PACKAGES=${PIP_PACKAGES:-sastrawi}
|
- PIP_PACKAGES=${PIP_PACKAGES:-sastrawi}
|
||||||
volumes:
|
volumes:
|
||||||
- jupyterlab_data:/home/mambauser/data
|
- jupyterlab_data:/home/mambauser/data
|
||||||
|
healthcheck:
|
||||||
|
test:
|
||||||
|
[
|
||||||
|
"CMD",
|
||||||
|
"curl",
|
||||||
|
"-f",
|
||||||
|
"http://127.0.0.1:8008/login/",
|
||||||
|
]
|
||||||
|
timeout: 5s
|
||||||
|
interval: 5s
|
||||||
|
retries: 3
|
||||||
|
|
||||||
Loading…
Reference in a new issue