---
title: "Deploy OpenVSCode Server"
description: "OpenVSCode Server 1.105: VS Code in the browser, token-protected."
category: "Other"
url: https://railway.com/deploy/openvscode-server
---

# Deploy OpenVSCode Server

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

**[Deploy OpenVSCode Server on Railway](https://railway.com/template/openvscode-server)**

Machine-readable deploy manifest (JSON, validated by TemplateCI): https://railway.com/deploy/openvscode-server/manifest.json

- **Creator:** Agaz Self-Host
- **Category:** Other

## Template content

### openvscode https://raw.githubusercontent.com/gitpod-io/openvscode-server/openvscode-server-v1.109.5/src/vs/workbench/browser/media/code-icon.svg

- **Image:** gitpod/openvscode-server:1.105.1
- **Start command:** `sh -c 'exec ${OPENVSCODE_SERVER_ROOT}/bin/openvscode-server --host :: --port 3000 --connection-token "$OPENVSCODE_TOKEN" --default-folder /home/workspace'`
- **Health check:** /version
- **Public domain:** Yes

## Documentation

# 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

- [OpenVSCode Server on GitHub](https://github.com/gitpod-io/openvscode-server)
- [OpenVSCode Server 1.105.1 release](https://github.com/gitpod-io/openvscode-server/releases/tag/openvscode-server-v1.105.1)
- [Railway volumes](https://docs.railway.com/reference/volumes)

### 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_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.


## Similar templates

- [Rocky Linux](https://railway.com/deploy/rocky-linux) — Hosted Rocky Linux 9 workspace with SSH and persistent storage. 🚀
- [Foundry Virtual Tabletop](https://railway.com/deploy/X5tR6G) — A Self-Hosted & Modern Roleplaying Platform
- [Letta Code Remote](https://railway.com/deploy/letta-code-remote) — Run a Letta Code agent 24/7. No inbound ports, just deploy.

Open this page in a browser: https://railway.com/deploy/openvscode-server
