add new misp-core health check endpoint (#80)

pull/87/head
UFOSmuggler 2024-06-26 23:38:09 +10:00 committed by GitHub
parent ab79ea270b
commit 1842fd5689
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 7 additions and 8 deletions

View File

@ -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"