From 46d413d7d232b4a05f633eacbdbb19d4e5121169 Mon Sep 17 00:00:00 2001 From: SelfhostedPro Date: Tue, 9 Jun 2020 16:33:10 -0700 Subject: [PATCH] added code-server --- Template/template.json | 59 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 59 insertions(+) diff --git a/Template/template.json b/Template/template.json index b312757..2d10873 100644 --- a/Template/template.json +++ b/Template/template.json @@ -508,6 +508,65 @@ } ] }, + { + "type": 1, + "title": "Code Server", + "name": "code-server", + "description": "Code-server is VS Code running on a remote server, accessible through the browser.", + "logo": "https://raw.githubusercontent.com/SelfhostedPro/selfhosted_templates/master/Images/chowdown.png", + "image": "linuxserver/code-server:latest", + "categories": [ + "Other", + "Tools" + ], + "platform": "linux", + "restart_policy": "unless-stopped", + "ports": [ + "8443:8443/tcp" + ], + "env": [ + { + "name": "PUID", + "label": "PUID", + "default": "1000", + "preset": true + }, + { + "name": "GUID", + "label": "PUID", + "default": "1000", + "preset": true + }, + { + "name": "TZ", + "label": "TZ" + }, + { + "name": "PASSWORD", + "label": "PASSWORD", + "default": "1000", + "preset": true + }, + { + "name": "SUDO_PASSWORD", + "label": "SUDO_PASSWORD", + "default": "1000", + "preset": true + }, + { + "name": "PROXY_DOMAIN", + "label": "PROXY_DOMAIN", + "default": "example.my.domain", + "preset": true + } + ], + "volumes": [ + { + "container": "/config", + "bind": "/portainer/Files/AppData/Config/Code-Server" + } + ] + }, { "type": 1, "title": "Codiad",