This commit is contained in:
Kris
2026-03-27 18:01:17 +08:00
parent 86c2d549e2
commit f439bfffe8
450 changed files with 63870 additions and 1408 deletions

View File

@@ -7,6 +7,7 @@ services:
dockerfile: docker-dev/Dockerfile
args:
BUILDKIT_INLINE_CACHE: 1
NODE_DIST_BASE: https://npmmirror.com/mirrors/node
image: ecshopx-dev
container_name: ecshopx-dev
restart: unless-stopped
@@ -15,11 +16,8 @@ services:
- "8081:8081" # Nginx H5前端服务 (容器8081端口映射到主机8081端口)
- "8082:8082" # Nginx PC前端代理 (容器8082端口映射到主机8082端口)
volumes:
# 分别挂载四个项目目录
- .:/data/httpd/ECShopX
- ../ECShopX_admin-frontend:/data/httpd/ECShopX_admin-frontend
- ../ECShopX_mobile-frontend:/data/httpd/ECShopX_mobile-frontend
- ../ECShopX_desktop-frontend:/data/httpd/ECShopX_desktop-frontend
# 挂载目录
- ..:/data/httpd
# 数据持久化
- mysql_data:/var/lib/mysql
- redis_data:/var/lib/redis