Skip to content

Commit

Permalink
Merge pull request #362 from jumpserver/pr@dev@perf_web_health
Browse files Browse the repository at this point in the history
perf: 优化 web 容器健康检查
  • Loading branch information
wojiushixiaobai authored Nov 2, 2023
2 parents 00eb814 + c8543a8 commit fb5a44e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compose/docker-compose-web.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ services:
- ${VOLUME_DIR}/core/data:/opt/jumpserver/data
- ${VOLUME_DIR}/nginx/data/logs:/var/log/nginx
healthcheck:
test: "curl -fs http://localhost:$${HTTP_PORT}/ > /dev/null"
test: "curl -k -fsL http://localhost:$$HTTP_PORT/api/health/ > /dev/null"
interval: 10s
timeout: 5s
retries: 3
Expand Down

0 comments on commit fb5a44e

Please sign in to comment.