dock部署怎么修改默认的80端口
#1213
-
dock部署怎么修改默认的80端口 |
Beta Was this translation helpful? Give feedback.
Answered by
icyleaf
Jul 20, 2023
Replies: 1 comment
-
使用 docker 部署修改 使用 docker-compose 部署修改: ports:
- - "80:80"
+ - "{port}:80" 那上面 |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
icyleaf
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
使用 docker 部署修改
-p {port}:80
使用 docker-compose 部署修改:
那上面
{port}
更换成你想要的端口号。