-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Clean up the devcontainer files (#1317)
* Spruce up docker-compose for dev container * Update devcontainer.json to remove unused lines * It's /workspaces not /workspace
- Loading branch information
Showing
2 changed files
with
35 additions
and
95 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,58 +1,17 @@ | ||
// { | ||
// "name": "LibreChat_dev", | ||
// // Update the 'dockerComposeFile' list if you have more compose files or use different names. | ||
// "dockerComposeFile": "docker-compose.yml", | ||
// // The 'service' property is the name of the service for the container that VS Code should | ||
// // use. Update this value and .devcontainer/docker-compose.yml to the real service name. | ||
// "service": "librechat", | ||
// // The 'workspaceFolder' property is the path VS Code should open by default when | ||
// // connected. Corresponds to a volume mount in .devcontainer/docker-compose.yml | ||
// "workspaceFolder": "/workspace" | ||
// //, | ||
// // // Set *default* container specific settings.json values on container create. | ||
// // "settings": {}, | ||
// // // Add the IDs of extensions you want installed when the container is created. | ||
// // "extensions": [], | ||
// // Uncomment the next line if you want to keep your containers running after VS Code shuts down. | ||
// // "shutdownAction": "none", | ||
// // Uncomment the next line to use 'postCreateCommand' to run commands after the container is created. | ||
// // "postCreateCommand": "uname -a", | ||
// // Comment out to connect as root instead. To add a non-root user, see: https://aka.ms/vscode-remote/containers/non-root. | ||
// // "remoteUser": "vscode" | ||
// } | ||
{ | ||
// "name": "LibreChat_dev", | ||
"dockerComposeFile": "docker-compose.yml", | ||
"service": "app", | ||
// "image": "node:19-alpine", | ||
// "workspaceFolder": "/workspaces", | ||
"workspaceFolder": "/workspace", | ||
// Set *default* container specific settings.json values on container create. | ||
// "overrideCommand": true, | ||
"customizations": { | ||
"vscode": { | ||
"extensions": [], | ||
"settings": { | ||
"terminal.integrated.profiles.linux": { | ||
"bash": null | ||
} | ||
} | ||
"dockerComposeFile": "docker-compose.yml", | ||
"service": "app", | ||
"workspaceFolder": "/workspaces", | ||
"customizations": { | ||
"vscode": { | ||
"extensions": [], | ||
"settings": { | ||
"terminal.integrated.profiles.linux": { | ||
"bash": null | ||
} | ||
}, | ||
"postCreateCommand": "", | ||
// "workspaceMount": "src=${localWorkspaceFolder},dst=/code,type=bind,consistency=cached" | ||
|
||
// "runArgs": [ | ||
// "--cap-add=SYS_PTRACE", "--security-opt", "seccomp=unconfined", | ||
// "-v", "/tmp/.X11-unix:/tmp/.X11-unix", | ||
// "-v", "${env:XAUTHORITY}:/root/.Xauthority:rw", | ||
// "-v", "/home/${env:USER}/.cdh:/root/.cdh", | ||
// "-e", "DISPLAY=${env:DISPLAY}", | ||
// "--name=tgw_assistant_backend_dev", | ||
// "--network=host" | ||
// ], | ||
// "settings": { | ||
// "terminal.integrated.shell.linux": "/bin/bash" | ||
// }, | ||
"features": {"ghcr.io/devcontainers/features/git:1": {}} | ||
} | ||
} | ||
}, | ||
"postCreateCommand": "", | ||
"features": { "ghcr.io/devcontainers/features/git:1": {} } | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters