https://github.com/fred78290/vscode-server-docker
vscode in a web browser
https://github.com/fred78290/vscode-server-docker
browser developer-tools docker kubernetes kubernetes-deployment vscode-remote vscode-server
Last synced: about 1 month ago
JSON representation
vscode in a web browser
- Host: GitHub
- URL: https://github.com/fred78290/vscode-server-docker
- Owner: Fred78290
- Created: 2023-04-08T19:47:53.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-08-29T08:34:55.000Z (almost 3 years ago)
- Last Synced: 2025-12-04T18:17:19.219Z (6 months ago)
- Topics: browser, developer-tools, docker, kubernetes, kubernetes-deployment, vscode-remote, vscode-server
- Language: Shell
- Homepage:
- Size: 26.5 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# VSCode Server in a browser
This project is a simple way to embed vscode server in a docker container or a kubernetes cluster and serving vscode for remote development.
The environment include theses tools : nodejs, npm, yarn, golang, php.
If you need more tools or package, do sudo in a terminal to grant access.
## Variables
Before to build or deploy vscode-server, you need to declare some variables
````
export VSCODE_SERVER_IMAGE=fred78290/vscode-server:v0.1.0
export VSCODE_HOSTNAME=vscode-server.acme.com
````
## Build it
To build locally execute : `build.sh`
To build and publish in your docker registry : `buildx.sh`
## Run in local docker
To run in you local docker : `run.sh`. You need to declare **VSCODE_KEYRING_PASS**
```
export VSCODE_KEYRING_PASS=754A3584-CD8B-4146-9DEB-4FC288F09E2E
````
## Install in Kubernetes
If you expect to use oauth2 authentication : https://oauth2-proxy.github.io/oauth2-proxy/, you need to declare extras variables
```
export VSCODE_OAUTH2_PROXY_PROVIDER=google
export VSCODE_OAUTH2_PROXY_CLIENT_ID=123456789-abcdefgh.apps.googleusercontent.com
export VSCODE_OAUTH2_PROXY_CLIENT_SECRET=7D0585D1-EA9C-4396-864F-8742114DC6C9
````
To deploy in kubernetes cluster : `kubernetes.sh`