feat:fix docker-compose

This commit is contained in:
shenjianZ 2025-07-31 11:00:22 +08:00
parent 5b7cc39496
commit 9ceb96d9c7
3 changed files with 8 additions and 1 deletions

3
.gitignore vendored
View File

@ -5,4 +5,5 @@
/frontend/dist
plan.md
info.md
docker-compose.self.yml
docker-compose.self.yml
compose.self.env

View File

@ -8,6 +8,9 @@ services:
- compose.env
networks:
- email-network
ports:
- "5182:5182" # API port
- "25:25" # SMTP port
# 2. 数据库服务 (MySQL)
mysql:

View File

@ -4,6 +4,9 @@ services:
image: registry.cn-hangzhou.aliyuncs.com/pull-image/email-unlimit-backend:latest
container_name: email-backend
restart: always
ports:
- "5182:5182" # API port
- "25:25" # SMTP port
env_file:
- compose.env
networks: