diff options
| author | Kasra Bigdeli <[email protected]> | 2020-01-05 15:05:29 -0500 |
|---|---|---|
| committer | Kasra Bigdeli <[email protected]> | 2020-01-05 15:05:29 -0500 |
| commit | 3c8aadb47d718b6cfee45a4b75a1fdef85151e7d (patch) | |
| tree | f1e8fdc08afd36ddd2f618ce3ff97a6cb67e9438 | |
| parent | 1155799f9607b11ec29b77e1d667e1f2ef70d2f5 (diff) | |
| download | caprover-one-click-apps-3c8aadb47d718b6cfee45a4b75a1fdef85151e7d.tar.gz caprover-one-click-apps-3c8aadb47d718b6cfee45a4b75a1fdef85151e7d.zip | |
Added vscode
| -rw-r--r-- | public/v2/apps/vscode-coder.json | 40 | ||||
| -rw-r--r-- | public/v2/logos/vscode-coder.png | bin | 0 -> 13846 bytes |
2 files changed, 40 insertions, 0 deletions
diff --git a/public/v2/apps/vscode-coder.json b/public/v2/apps/vscode-coder.json new file mode 100644 index 0000000..0a2c71b --- /dev/null +++ b/public/v2/apps/vscode-coder.json @@ -0,0 +1,40 @@ +{ + "captainVersion": "2", + "documentation":"Taken from https://github.com/cdr/code-server/ . Except the image version (tag) is fixed to a specific version rather than generic 'v2' as this will ensure consistency of deployments.", + "displayName": "vscode via code-server", + "description": "code-server by Coder is VS Code running on a remote server, accessible through the browser.", + "dockerCompose":{ + "services":{ + "$$cap_appname":{ + "containerHttpPort":"8080", + "environment":{ + "PASSWORD":"$$cap_coder_password" + }, + "dockerfileLines": [ + "FROM codercom/code-server:2.1697-vsc1.39.2", + "# Similar to the original file, except setting the user to root to prevent permission issues.", + "USER root" + ], + "image":"", + "restart":"always", + "volumes":[ + "$$cap_appname-config-data:/home/coder/.local/share/code-server", + "$$cap_appname-project-directory:/home/coder/project" + ] + } + }, + "version":"2" + }, + "instructions":{ + "end":"Code server is deployed and is available as $$cap_appname.\n\n IMPORTANT: Make sure to enable websocket capability in the app config on CapRover dashboard!", + "start":"This installation will install a Visual Studio Code that's accessible through browser!\n\nIMPORTANT: Make sure you have at least 2GB of RAM when you run code-server." + }, + "variables":[ + { + "description":"Password for accessing VS Code", + "id":"$$cap_coder_password", + "label":"Password", + "validRegex":"/^[^\"]*$/" + } + ] +} diff --git a/public/v2/logos/vscode-coder.png b/public/v2/logos/vscode-coder.png Binary files differnew file mode 100644 index 0000000..d66eac0 --- /dev/null +++ b/public/v2/logos/vscode-coder.png |
