mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-14 06:03:45 +01:00
feat/wakatime integration- #249 plus tools/reference_stack_compose with wakapi
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
services:
|
||||
wakapi-probe:
|
||||
image: ${PROBE_IMAGE}
|
||||
container_name: wakapi-probe
|
||||
restart: unless-stopped
|
||||
|
||||
networks:
|
||||
- overleaf-network
|
||||
|
||||
# NOTE: probe /login, NOT / — wakapi's base path is /wakapi and the raw
|
||||
# server's 302 for / points Location: /wakapi/login, which only exists
|
||||
# behind nginx's prefix-stripping; inside the network the follow-up is a
|
||||
# 404 and spider mode would report failure. /login is base-path
|
||||
# independent and always a plain 200.
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "wget -q --spider http://wakapi:3000/login >/dev/null 2>&1 || exit 1"]
|
||||
interval: 30s
|
||||
timeout: 10s
|
||||
retries: 5
|
||||
start_period: 20s
|
||||
entrypoint: ["sh", "-c", "sleep infinity"]
|
||||
|
||||
networks:
|
||||
overleaf-network:
|
||||
external: true
|
||||
Reference in New Issue
Block a user