healthcheck
This commit is contained in:
parent
effe425b95
commit
a03288ab6f
1 changed files with 7 additions and 1 deletions
|
|
@ -16,4 +16,10 @@ services:
|
|||
source: ${SQLITE_DATABASES_LOCATION}
|
||||
target: /www
|
||||
is_directory: true
|
||||
|
||||
healthcheck:
|
||||
test:
|
||||
- CMD-SHELL
|
||||
- bash -c ':> /dev/tcp/127.0.0.1/8000' || exit 1
|
||||
interval: 5s
|
||||
timeout: 5s
|
||||
retries: 3
|
||||
|
|
|
|||
Loading…
Reference in a new issue