зеркало из https://github.com/mozilla/Spoke.git
Feature/update docker healthcheck (#1218)
* update-docker-healthcheck * Update nginx.config Co-authored-by: Geng Tan <geng.tan@limeade.com>
This commit is contained in:
Родитель
99db1a7c56
Коммит
9669ef7360
|
@ -25,7 +25,6 @@ copy --from=ssl /ssl /ssl
|
|||
copy --from=builder /spoke/rawspoke/pages /www/spoke/pages
|
||||
copy --from=builder /spoke/rawspoke/assets /www/spoke/assets
|
||||
copy scripts/docker/nginx.config /etc/nginx/conf.d/default.conf
|
||||
run echo "1" > /www/_healthz.html
|
||||
copy scripts/docker/run.sh /run.sh
|
||||
run chmod +x /run.sh && cat /run.sh
|
||||
cmd bash /run.sh
|
||||
|
|
|
@ -12,6 +12,6 @@ server {
|
|||
server {
|
||||
listen 1111;
|
||||
location =/_healthz {
|
||||
root /www/_healthz.html;
|
||||
}
|
||||
return 200 ;
|
||||
}
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче