Deploy code-server

VS Code in the browser, running on your own Railway service

Deploy code-server

Just deployed

/home/coder

Deploy and Host code-server on Railway

code-server runs VS Code on a remote server and serves it in the browser, so you can code from any device.

About Hosting code-server

This template runs the official codercom/code-server:latest image with a persistent volume at /home/coder for your projects, extensions and settings. A random login password is generated and stored in the PASSWORD variable of the service. Open the service's Variables tab in Railway to read it, then open the public URL and sign in with it.

Common Use Cases

  • Browser-based development environment from a tablet or Chromebook
  • Consistent remote workspace for a team or a course
  • Quick edits to a project on a cloud machine

Dependencies for code-server Hosting

  • One service with a volume; nothing else

Deployment Dependencies

Why Deploy code-server on Railway?

Railway gives you a public HTTPS URL, a persistent volume and automatic restarts with no server to maintain. Treat the generated password as the only protection: rotate it in the Variables tab if it leaks.


Template Content

More templates in this category

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

codestorm
50
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