【发布时间】:2019-03-04 11:26:51
【问题描述】:
我在ubuntu机器上用dock-compose安装redash,在“docker-compose.production.yml”中,nginx端口是“80:80”,现在想换一个redash端口,怎么办?只需将其更改为“5433:80”不起作用。 enter image description here
【问题讨论】:
标签: docker-compose redash
我在ubuntu机器上用dock-compose安装redash,在“docker-compose.production.yml”中,nginx端口是“80:80”,现在想换一个redash端口,怎么办?只需将其更改为“5433:80”不起作用。 enter image description here
【问题讨论】:
标签: docker-compose redash
看来你已经设置正确了,把80:80这行改成5433:80会在宿主机上将nginx端口转发到5433。您是否使用此命令重新创建了图像?
docker-compose up -d --force-recreate
【讨论】: