feat:fix docker-compose
This commit is contained in:
parent
5b7cc39496
commit
9ceb96d9c7
|
|
@ -5,4 +5,5 @@
|
|||
/frontend/dist
|
||||
plan.md
|
||||
info.md
|
||||
docker-compose.self.yml
|
||||
docker-compose.self.yml
|
||||
compose.self.env
|
||||
|
|
@ -8,6 +8,9 @@ services:
|
|||
- compose.env
|
||||
networks:
|
||||
- email-network
|
||||
ports:
|
||||
- "5182:5182" # API port
|
||||
- "25:25" # SMTP port
|
||||
|
||||
# 2. 数据库服务 (MySQL)
|
||||
mysql:
|
||||
|
|
|
|||
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in New Issue