Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE]方便的进行端口映射, 容器允许修改127.0.0.1默认设置 #6996

Open
1057105012 opened this issue Nov 11, 2024 · 2 comments
Assignees

Comments

@1057105012
Copy link

1Panel 版本

方便的进行端口映射, 容器允许修改127.0.0.1默认设置

请描述您的需求或者改进建议

容器默认127.0.0.1, 都没法改, 而且, nginx不支持直接映射到本地或者远程服务器端口做转发, 还必须填写文件夹之类的, 比如我要转发docker, 就没法弄

请描述你建议的实现方案

  1. 容器支持更改端口映射, 最好别重启容器, 容易数据丢失
  2. openresty和nginx提供端口映射, 不要填写那么多东西, 没有方便的端口转发功能, 容器127.0.0.1绑定, nginx又集成的太厉害, 没法改, 直接给绑死了

附加信息

No response

@zhengkunwang223
Copy link
Contributor

  1. 改端口映射必须重启容器,容器重启数据丢失是因为没有把数据目录挂载出来
  2. 再详细描述一下 你想要的端口映射是什么 我们当前的 Openresty 是 Host 模式 端口用的是宿主机端口

@wanghe-fit2cloud wanghe-fit2cloud changed the title [FEATURE] [FEATURE]方便的进行端口映射, 容器允许修改127.0.0.1默认设置 Nov 11, 2024
@QYG2297248353
Copy link

同时建议: 一键部署 可以切换绑定应用

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants