dev container修正
This commit is contained in:
@@ -3,6 +3,8 @@ services:
|
||||
image: mcr.microsoft.com/devcontainers/universal:2
|
||||
volumes:
|
||||
- ../../:/workspaces/K12study:cached
|
||||
- frontend-node-modules:/workspaces/K12study/frontend/node_modules
|
||||
- pnpm-store:/pnpm-store
|
||||
working_dir: /workspaces/K12study
|
||||
command: sleep infinity
|
||||
environment:
|
||||
@@ -26,6 +28,7 @@ services:
|
||||
K12STUDY_VECTOR_PORT: 19530
|
||||
K12STUDY_VECTOR_HTTP_PORT: 9091
|
||||
PYTHONUNBUFFERED: "1"
|
||||
PNPM_STORE_DIR: /pnpm-store
|
||||
depends_on:
|
||||
- postgres
|
||||
- redis
|
||||
@@ -151,6 +154,8 @@ services:
|
||||
- milvus-dev-data:/var/lib/milvus
|
||||
|
||||
volumes:
|
||||
frontend-node-modules:
|
||||
pnpm-store:
|
||||
postgres-dev-data:
|
||||
redis-dev-data:
|
||||
nacos-dev-logs:
|
||||
|
||||
Reference in New Issue
Block a user