feat:fix docker-compose.full.yml
This commit is contained in:
parent
a7d8774157
commit
5b7cc39496
|
|
@ -8,10 +8,9 @@ services:
|
||||||
- compose.full.env
|
- compose.full.env
|
||||||
networks:
|
networks:
|
||||||
- email-network
|
- email-network
|
||||||
# 不直接暴露端口给外部,由 Nginx 统一代理
|
ports:
|
||||||
# ports:
|
|
||||||
# - "5182:5182"
|
# - "5182:5182"
|
||||||
# - "25:25"
|
- "25:25"
|
||||||
|
|
||||||
# 2. 数据库服务 (MySQL)
|
# 2. 数据库服务 (MySQL)
|
||||||
mysql:
|
mysql:
|
||||||
|
|
@ -34,7 +33,6 @@ services:
|
||||||
ports:
|
ports:
|
||||||
- "80:80" # HTTP
|
- "80:80" # HTTP
|
||||||
- "443:443" # HTTPS (需要SSL证书)
|
- "443:443" # HTTPS (需要SSL证书)
|
||||||
- "25:25" # SMTP 端口,转发给后端
|
|
||||||
volumes:
|
volumes:
|
||||||
# 挂载前端构建好的静态文件
|
# 挂载前端构建好的静态文件
|
||||||
- ./frontend/dist:/usr/share/nginx/html
|
- ./frontend/dist:/usr/share/nginx/html
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue