Skip to content

Plugin file

Plugin configuration file
{
    "name" : "vscode",
    "version" : "4.89.1-1",
    "description" : "VS Code Plugin for Thinger.io",
    "author" : "Alvaro Luis Bustamante",
    "license" : "MIT",
    "repository" : {
      "type" : "git",
      "url" : "https://github.com/thinger-io/plugins.git",
      "directory": "vscode"
    },
    "metadata" : {
        "name" : "VS Code",
        "description" : "VS Code Plugin for Thinger.io",
        "image" : "https://s3.eu-west-1.amazonaws.com/thinger.io.files/plugins/vscode/img/vscode-icon.png",
        "icon" : "https://s3.eu-west-1.amazonaws.com/thinger.io.files/plugins/vscode/img/vscode-icon.png"
    },
    "tokens" : {
      "vscode_plugin" : {
        "name" : "Access from VSCode to Thinger.io OTA",
        "allow" : {
          "Device" : {
            "*": ["ListDevices","AccessDeviceResources","ReadDeviceStatistics"]
          }
        }
      }
    },
    "task" : {
        "type" : "docker",
        "image" : "codercom/code-server:4.89.1",
        "volumes" : [
            {
                "source" : "config",
                "target" : "/home/coder/.config/code-server/",
                "description": "Mount point for user data configuration and workspaces."
            },
            {
                "source" : "scripts",
                "target" : "/entrypoint.d/",
                "description": "Scripts to run on boot"
            },
            {
                "source" : "settings",
                "target" : "/settings",
                "description" : "Mount point to configure extension settings"
            },
            {
                "source" : "../../../storages",
                "target" : "/home/coder/storages",
                "description": "Mount point for accessing user storages"
            }
        ],
        "copy": {
            "config": "config",
            "scripts": "scripts",
            "settings": "settings"
        },
        "resources" : {
            "memory" : 3990000000
        },
        "env" : {
          "CODER_TELEMETRY": "false"
        }
    },
    "interface" : {
        "main" : {
            "proxy_to" : {
                "plugin" : "vscode",
                "port" : 8080
            }
        }
    }
}