Explorar el Código

fix(docker): 修复容器端口映射配置

- 将容器内部端口从 8080 更改为 9901
- 保持外部端口 9901 不变,实现正确的端口绑定
- 确保服务通过正确端口对外提供访问
ChenYu hace 7 meses
padre
commit
a704a79fca
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      build.sh

+ 1 - 1
build.sh

@@ -120,7 +120,7 @@ docker run -d \
     --name ${MODULE} \
     --name ${MODULE} \
     --restart always \
     --restart always \
     ${MEMORY_LIMIT} \
     ${MEMORY_LIMIT} \
-    -p 9901:8080 \
+    -p 9901:9901 \
     -p 9902:8090 \
     -p 9902:8090 \
     --volume /etc/localtime:/etc/localtime \
     --volume /etc/localtime:/etc/localtime \
     -v /logs:/logs \
     -v /logs:/logs \