Skip to content

Commit

Permalink
Feature/update docker healthcheck (#1218)
Browse files Browse the repository at this point in the history
* update-docker-healthcheck

* Update nginx.config

Co-authored-by: Geng Tan <[email protected]>
  • Loading branch information
tanfarming and Geng Tan authored Feb 8, 2022
1 parent 99db1a7 commit 9669ef7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion RetPageOriginDockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
4 changes: 2 additions & 2 deletions scripts/docker/nginx.config
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@ server {
server {
listen 1111;
location =/_healthz {
root /www/_healthz.html;
}
return 200 ;
}
}

0 comments on commit 9669ef7

Please sign in to comment.