|
1 | 1 | // For format details, see https://aka.ms/devcontainer.json. For config options, see the README at: |
2 | 2 | // https://github.com/microsoft/vscode-dev-containers/tree/v0.217.4/containers/python-3-miniconda |
3 | 3 | { |
4 | | - "name": "Nvidia Devel", |
| 4 | + "name": "UMLBot Dev", |
5 | 5 | "dockerComposeFile": [ |
6 | 6 | "docker-compose.yml" |
7 | 7 | ], |
8 | 8 | "service": "umlbot-dev", |
9 | 9 | "workspaceFolder": "/workspaces/UMLBot", |
10 | 10 | "workspaceMount": "source=${localWorkspaceFolder},target=/workspaces/UMLBot,type=bind,consistency=cached", |
11 | 11 |
|
12 | | - // nvidia cuda |
13 | | - //"runArgs": ["--runtime=nvidia", "--gpus", "all"], |
14 | | - |
15 | 12 | // change for the specific project |
16 | 13 | "mounts": [ |
17 | 14 | "source=${localWorkspaceFolder}/data,target=/data,type=bind,consistency=cached" |
18 | 15 | ], |
19 | 16 |
|
20 | | - "forwardPorts":[3000, 7860], |
21 | | - |
| 17 | + "forwardPorts":[8000], |
| 18 | + |
22 | 19 | // Set *default* container specific settings.json values on container create. |
23 | | - "settings": { |
| 20 | + "settings": { |
24 | 21 | "python.linting.enabled": true, |
25 | 22 | "python.linting.pylintEnabled": true, |
26 | 23 | "python.formatting.autopep8Path": "/usr/local/py-utils/bin/autopep8", |
|
32 | 29 | "python.linting.pycodestylePath": "/usr/local/py-utils/bin/pycodestyle", |
33 | 30 | "python.linting.pydocstylePath": "/usr/local/py-utils/bin/pydocstyle", |
34 | 31 | "python.linting.pylintPath": "/usr/local/py-utils/bin/pylint", |
35 | | - "kilocode.activeProvider": "openai", // Or your custom provider |
36 | | - "kilocode.apiKey": "${env:KILO_API_KEY}", // Use the env var above |
37 | | - "kilocode.endpoint": "${env:KILO_ENDPOINT}", // Your backend endpoint |
38 | | - "kilocode.model": "", // Optional, depends on your backend/provider |
39 | | - "plantuml.server": "http://plantuml:8080", |
40 | | - "plantuml.render": "PlantUMLServer", |
41 | | - "plantuml.urlFormat": "png", |
42 | | - |
| 32 | + "kilocode.activeProvider": "openai", |
| 33 | + "kilocode.apiKey": "${env:KILO_API_KEY}", |
| 34 | + "kilocode.endpoint": "${env:KILO_ENDPOINT}", |
| 35 | + "kilocode.model": "" |
43 | 36 | }, |
44 | 37 |
|
45 | 38 | // Add the IDs of extensions you want installed when the container is created. |
46 | 39 | "extensions": [ |
47 | 40 | "donjayamanne.python-extension-pack", |
48 | 41 | "ms-python.vscode-pylance", |
49 | 42 | "teledemic.branch-warnings", |
50 | | - "kilocode.kilo-code", |
51 | | - "jebbs.plantuml" |
| 43 | + "kilocode.kilo-code" |
52 | 44 | ], |
53 | 45 |
|
54 | 46 | "features": { |
55 | | - "ghcr.io/devcontainers/features/node:1": { "version": "20" } |
| 47 | + "ghcr.io/devcontainers/features/java:1": { "version": "17", "installGradle": "false", "installMaven": "false" } |
56 | 48 | }, |
57 | 49 |
|
58 | 50 | // Use 'postCreateCommand' to run commands after the container is created. |
59 | | - // where mlflow starts up |
60 | 51 | "postCreateCommand": [ |
61 | 52 | "./Docker/startup.sh" |
62 | 53 | ], |
63 | | - |
| 54 | + |
64 | 55 |
|
65 | 56 | // Comment out to connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root. |
66 | 57 | "remoteUser": "vscode" |
|
0 commit comments