Skip to content

Commit

Permalink
Merge pull request #346 from jumpserver/pr@dev@perf_xrdp_port
Browse files Browse the repository at this point in the history
perf: 优化 xrdp 健康检查
  • Loading branch information
wojiushixiaobai committed Sep 18, 2023
2 parents e096333 + cbe37d9 commit 6566c4f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions compose/docker-compose-xrdp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ services:
env_file:
- ${CONFIG_FILE}
ports:
- ${XRDP_PORT:-3390}:3390
- ${XRDP_PORT:-3390}:${XRDP_PORT:-3390}
volumes:
- ${VOLUME_DIR}/xrdp/data:/opt/xrdp/data
- ${CONFIG_DIR}/nginx/cert:/opt/xrdp/cert
healthcheck:
test: "nc -z 127.0.0.1 3390 || exit 1"
test: "nc -z 127.0.0.1 $$XRDP_PORT || exit 1"
interval: 10s
timeout: 5s
retries: 3
Expand Down

0 comments on commit 6566c4f

Please sign in to comment.