feat: 智捷ERP 自动化部署完成,包含 Docker 配置与品牌定制

This commit is contained in:
yi
2026-06-10 10:04:19 +08:00
parent 3e24e73b23
commit 5f25392908
9 changed files with 324 additions and 11 deletions
+32
View File
@@ -0,0 +1,32 @@
version: '3'
services:
web:
build: .
volumes:
- .:/app
ports:
- "6010:8000"
depends_on:
- db
environment:
- DATABASE_HOST=db
- DATABASE_NAME=mis
- DATABASE_USER=root
- DATABASE_PASSWORD=root
db:
image: mysql:5.7
command: --default-authentication-plugin=mysql_native_password
volumes:
- mysql_data:/var/lib/mysql
- ./Install/SQL:/docker-entrypoint-initdb.d
environment:
- MYSQL_DATABASE=mis
- MYSQL_ROOT_PASSWORD=root
- MYSQL_PASSWORD=root
ports:
- "6011:3306"
volumes:
mysql_data: