# cgj_dnmp **Repository Path**: sirping/cgj_dnmp ## Basic Information - **Project Name**: cgj_dnmp - **Description**: 车管家 docker 环境 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-06-09 - **Last Updated**: 2025-07-31 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README #### 启动服务 ``` cd ./cgj_dnmp copy .env.example .env 修改 .env SOURCE_DIR 修改为存放项目目录路径 docker compose up -d # 启动所有服务 docker compose up -d cgj-erp # 启动erp服务 ``` ``` docker 常用命令 docker compose down 停掉容器并删掉 docker compose build --no-cache 构建镜像所有的 docker compose build cgj-erp --no-cache 构建镜像erp服务镜像 ``` ``` 关于ERP服务 hyperf热更新(建议本地开发使用) 满足条件: 环境变量: APP_ENV = dev && ENABLE_HOT_UPDATE = true 时才支持热更新 关闭supervisor启动: docker-compose.yml的 cgj-erp 的 INSTALL_SUPERVISOR=false ``` ``` supervisor 常用命令 # 停止服务 supervisorctl stop # 启动服务 supervisorctl start # 或者直接重启服务 supervisorctl restart #更新配置文件 supervisorctl update ```