refactor: 统一运行/编译脚本为 scripts/ 下纯 Python(自动 venv,傻瓜式)
新增 _env.py 共享工具与 dev/run/tauri_dev/build_server/build_tauri/build_docker/clean 脚本,
删除旧 build.{sh,ps1,bat}、根 run.bat/debug.bat/start.sh/dev.py、supervisord.conf、packaging/Dockerfile,
Docker 改以根 Dockerfile 为准并重写 compose(/data 卷)。
This commit is contained in:
@@ -6,14 +6,10 @@ services:
|
||||
ports:
|
||||
- "9081:9081"
|
||||
volumes:
|
||||
- ./cache:/app/cache
|
||||
- ./Configure.json:/app/Configure.json
|
||||
- ./ReportScript.sql:/app/ReportScript.sql
|
||||
- ./logs:/var/log/supervisor
|
||||
- capacity-data:/data
|
||||
environment:
|
||||
- TZ=Asia/Shanghai
|
||||
- PYTHONUNBUFFERED=1
|
||||
- SUPERVISOR_ENABLED=1
|
||||
depends_on:
|
||||
capacity-mysql:
|
||||
condition: service_healthy
|
||||
@@ -60,3 +56,5 @@ networks:
|
||||
volumes:
|
||||
capacity-mysql-data:
|
||||
driver: local
|
||||
capacity-data:
|
||||
driver: local
|
||||
|
||||
Reference in New Issue
Block a user