feat:fix docker-compose.full.yml
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user