forked from llmware-ai/llmware
-
Notifications
You must be signed in to change notification settings - Fork 0
/
devcontainer.json
49 lines (39 loc) · 1.61 KB
/
devcontainer.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
{
"name": "LLMWARE Dev",
// This is the image to use if doing development on only the llmware code base
//"image": "provocoai/llmware:dev-01", /
// using the dockerComposeFile option allows us to setup
// the full env around the llm code base include milvus and mongodb.
"dockerComposeFile": "docker-compose.yaml",
"service": "llmware", // we define the container to connect too
// update based on individual perference and mount point defined below
"workspaceFolder": "/llmware",
// "remoteUser": "llmware", //used with docker instead of podman
// "containerUser": "llmware", // used with docker instead of podman
// when we close the devcontainer env make sure we clean up after ourselfs
"shutdownAction": "stopCompose",
// needed for podman to keep the id's the same
"runArgs": [
"--userns=keep-id"
],
// Define the mountpoints into the llmware container.
// I use $HOMEDIR/code/provoco as my default codebase and
// then set the target to /code so I have access to all my code in /code
"mounts" : [
"source=${localEnv:HOME}/code/provoco,target=/code,Z,type=bind,consistency=cached"
// "source=${localENV:HOME}/.vscode-server,target=/root/.vscode-server,Z,type=bind,consistency=cached"
],
// setup the github cli feature so we can commit within the UI
"features": {
"ghcr.io/devcontainers/features/github-cli:1": {}
},
"customizations": {
"vscode": {
"extensions": [
"esbenp.prettier-vscode", // prettify the code extension
"ms-python.python", //python code extensions
"ms-python.vscode-pylance" // vscode python extension
]
}
}
}