Deploy OpenVSCode Server

OpenVSCode Server 1.105: VS Code in the browser, token-protected.

Deploy OpenVSCode Server

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

ServiceSourceNetworkingStorage
openvscodegitpod/openvscode-server:1.105.1public domain on 3000volume at /home/workspace
VariableDefaultPurpose
OPENVSCODE_TOKENgeneratedConnection token checked on every request
OPENVSCODE_URLhttps:///?tkn=Link that signs you in
RAILWAY_RUN_UID0Runs as root so the volume is writable

Notes:

  • Open OPENVSCODE_URL once; 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

More templates in this category

View Template
Rocky Linux
Hosted Rocky Linux 9 workspace with SSH and persistent storage. 🚀

codestorm
47
View Template
Foundry Virtual Tabletop
A Self-Hosted & Modern Roleplaying Platform

Lucas
71
View Template
Letta Code Remote
Run a Letta Code agent 24/7. No inbound ports, just deploy.

Letta
51