Deploy OpenVSCode Server
OpenVSCode Server 1.105: VS Code in the browser, token-protected.
openvscode
Just deployed
/home/workspace
Deploy and Host OpenVSCode Server on Railway
OpenVSCode Server is Gitpod's build of upstream VS Code that runs on a server and opens in any browser. It gives you the regular VS Code editor, terminal, Git integration and Open VSX extensions, without the modifications code-server makes, so behaviour and settings match the desktop editor closely.
About Hosting OpenVSCode Server
This template runs the official gitpod/openvscode-server:1.105.1 image as one service. A generated connection token protects the editor: requests without it get 403, and OPENVSCODE_URL holds a ready-made link that includes the token. The workspace folder /home/workspace is a Railway volume, so files, extensions and settings survive redeploys. The container runs as root so the editor can write to the root-owned volume and install packages in the terminal. It fits the Hobby plan; language servers and builds need more memory. Treat the token like a password, because anyone holding it gets a full terminal.
Common Use Cases
- A browser-based VS Code for coding from a tablet or a locked-down laptop
- A shared development box with the same tools for a small team
- Editing and running scripts next to other services in a Railway project
Dependencies for OpenVSCode Server Hosting
gitpod/openvscode-server:1.105.1(official image)- A Railway volume at
/home/workspace
Deployment Dependencies
Implementation Details
| Service | Source | Networking | Storage |
|---|---|---|---|
| openvscode | gitpod/openvscode-server:1.105.1 | public domain on 3000 | volume at /home/workspace |
| Variable | Default | Purpose |
|---|---|---|
OPENVSCODE_TOKEN | generated | Connection token checked on every request |
OPENVSCODE_URL | https:///?tkn= | Link that signs you in |
RAILWAY_RUN_UID | 0 | Runs as root so the volume is writable |
Notes:
- Open
OPENVSCODE_URLonce; the editor then keeps a cookie for the token. - Extensions come from Open VSX, not the Microsoft Marketplace.
This is a community-maintained deployment package and does not imply affiliation with or endorsement by the OpenVSCode Server project or Gitpod.
Why Deploy OpenVSCode Server on Railway?
Railway is a singular platform to deploy your infrastructure stack. Railway will host your infrastructure so you don't have to deal with configuration, while allowing you to vertically and horizontally scale it.
By deploying OpenVSCode Server on Railway, you are one step closer to supporting a complete full-stack application with minimal burden. Host your servers, databases, AI agents, and more on Railway.
Template Content
openvscode
gitpod/openvscode-server:1.105.1