mirror of https://github.com/MISP/misp-docker
add new misp-core health check endpoint (#80)
parent
ab79ea270b
commit
1842fd5689
|
@ -62,14 +62,13 @@ services:
|
||||||
condition: service_healthy
|
condition: service_healthy
|
||||||
db:
|
db:
|
||||||
condition: service_healthy
|
condition: service_healthy
|
||||||
# this is now disabled until we have a heartbeat endpoint with no side effects
|
healthcheck:
|
||||||
# healthcheck:
|
test: curl -ks https://localhost/users/heartbeat > /dev/null || exit 1
|
||||||
# test: curl -ks https://localhost/users/login > /dev/null || exit 1
|
interval: 2s
|
||||||
# interval: 2s
|
timeout: 1s
|
||||||
# timeout: 1s
|
retries: 3
|
||||||
# retries: 3
|
start_period: 30s
|
||||||
# start_period: 30s
|
start_interval: 30s
|
||||||
# start_interval: 30s
|
|
||||||
ports:
|
ports:
|
||||||
- "80:80"
|
- "80:80"
|
||||||
- "443:443"
|
- "443:443"
|
||||||
|
|
Loading…
Reference in New Issue