Skip to content

Commit d85c893

Browse files
committed
[update] 修改默认监听的端口
1 parent 2c46707 commit d85c893

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,6 @@ VOLUME /opt/jumpserver/logs
2121
ENV LANG=zh_CN.UTF-8
2222
ENV LC_ALL=zh_CN.UTF-8
2323

24+
EXPOSE 8070
2425
EXPOSE 8080
25-
EXPOSE 8081
2626
ENTRYPOINT ["./entrypoint.sh"]

apps/jumpserver/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -376,7 +376,7 @@ def __getattr__(self, item):
376376
'RADIUS_SECRET': '',
377377
'HTTP_BIND_HOST': '0.0.0.0',
378378
'HTTP_LISTEN_PORT': 8080,
379-
'WS_LISTEN_PORT': 8082,
379+
'WS_LISTEN_PORT': 8070,
380380
'LOGIN_LOG_KEEP_DAYS': 90,
381381
'ASSETS_PERM_CACHE_TIME': 3600*24,
382382
'SECURITY_MFA_VERIFY_TTL': 3600,

config_example.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ DB_NAME: jumpserver
4444
# 运行时绑定端口
4545
HTTP_BIND_HOST: 0.0.0.0
4646
HTTP_LISTEN_PORT: 8080
47-
WS_LISTEN_PORT: 8082
47+
WS_LISTEN_PORT: 8070
4848

4949
# Use Redis as broker for celery and web socket
5050
# Redis配置

0 commit comments

Comments
 (0)