This commit is contained in:
gitadmin
2026-10-20 15:25:28 +08:00
parent 11c85baa76
commit 4df8b99dce
+16 -12
View File
@@ -279,10 +279,11 @@ services:
# 始终重启 # 始终重启
restart: always restart: always
# host 网络模式 # host 网络模式
network_mode: host # 注意:要使用 ports 端口映射,必须移除 host 网络模式,改用默认 bridge 网络
# 端口映射(8020 端口) #network_mode: host
# 端口映射:宿主机端口:容器端口
ports: ports:
- 8020:8020 - 8020:8000
# 上传目录挂载 # 上传目录挂载
volumes: volumes:
- $PWD/${SERVER_NAME}/upload:/data/app/upload - $PWD/${SERVER_NAME}/upload:/data/app/upload
@@ -311,10 +312,11 @@ services:
# 始终重启 # 始终重启
restart: always restart: always
# host 网络模式 # host 网络模式
network_mode: host # 注意:要使用 ports 端口映射,必须移除 host 网络模式,改用默认 bridge 网络
# 端口映射(8023 端口) #network_mode: host
# 端口映射:宿主机端口:容器端口
ports: ports:
- 8023:8023 - 8023:8000
# 上传目录挂载 # 上传目录挂载
volumes: volumes:
- $PWD/${SERVER_NAME}/upload:/data/app/upload - $PWD/${SERVER_NAME}/upload:/data/app/upload
@@ -343,10 +345,11 @@ services:
# 始终重启 # 始终重启
restart: always restart: always
# host 网络模式 # host 网络模式
network_mode: host # 注意:要使用 ports 端口映射,必须移除 host 网络模式,改用默认 bridge 网络
# 端口映射(8026 端口) #network_mode: host
# 端口映射:宿主机端口:容器端口
ports: ports:
- 8026:8026 - 8026:8000
# 上传目录挂载 # 上传目录挂载
volumes: volumes:
- $PWD/${SERVER_NAME}/upload:/data/app/upload - $PWD/${SERVER_NAME}/upload:/data/app/upload
@@ -375,10 +378,11 @@ services:
# 始终重启 # 始终重启
restart: always restart: always
# host 网络模式 # host 网络模式
network_mode: host # 注意:要使用 ports 端口映射,必须移除 host 网络模式,改用默认 bridge 网络
# 端口映射(8029 端口) #network_mode: host
# 端口映射:宿主机端口:容器端口
ports: ports:
- 8029:8029 - 8029:8000
# 上传目录挂载 # 上传目录挂载
volumes: volumes:
- $PWD/${SERVER_NAME}/upload:/data/app/upload - $PWD/${SERVER_NAME}/upload:/data/app/upload