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

1
.gitignore vendored
View File

@ -6,3 +6,4 @@
plan.md plan.md
info.md info.md
docker-compose.self.yml docker-compose.self.yml
compose.self.env

View File

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

View File

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