feat:fix docker-compose.full.yml

This commit is contained in:
shenjianZ 2025-07-31 09:05:09 +08:00
parent a7d8774157
commit 5b7cc39496
1 changed files with 2 additions and 4 deletions

View File

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