feat:fix docker-compose
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
services:
|
||||
backend:
|
||||
build: ./backend
|
||||
container_name: email-backend
|
||||
restart: always
|
||||
ports:
|
||||
- "5182:5182" # API port
|
||||
- "25:25" # SMTP port
|
||||
# mysql 使用外部数据源
|
||||
env_file:
|
||||
- compose.self.env
|
||||
networks:
|
||||
- email-network
|
||||
networks:
|
||||
email-network:
|
||||
driver: bridge
|
||||
Reference in New Issue
Block a user