What is code-server?
code-server is the original "VS Code in a browser tab": the full editor - extensions, terminal, debugger - served from a container you own. Open it from a desktop, a tablet, or a borrowed machine, and your environment is exactly where you left it.
This template is one container with a 10 GB home volume: settings, extensions, and cloned repos all persist across redeploys. Password auth in front, your toolchains inside - apt and language runtimes install like on any dev box.
It completes the catalogue’s remote-dev story: agent-box gives you Claude Code and opencode in a terminal; code-server gives you the IDE. Same logic against Codespaces-style hourly metering - on a flat resource, a box that is always on is a fixed monthly cost, not cents-per-minute anxiety.
What you get
- Full VS Code: extensions (Open VSX), terminal, debugging, settings sync via the volume
- Persistent 10 GB /home/coder workspace across redeploys
- Password-protected, served over the platform’s TLS
- Works from tablets and any browser
- Install your toolchains: node, python, go, docker CLIs, whatever apt has
- Pairs with agent-box for the terminal-first agent workflow
How it runs on Lyngbak
| Service | Role | Public |
|---|---|---|
code-server | VS Code in the browser (:5000) | yes (password) |
Before you deploy
PASSWORDbrowser login (openssl rand -base64 18)
Sizing and billing
2 GiB covers the editor plus typical language servers. Heavy compiles, containers-in-dev, or big monorepos want more RAM - the IDE is only as fast as the box.
A resource is a flat monthly price, with RAM and disk add-ons when the stack needs a little more than a tier, and room for your own apps on a larger one. On Usage Billing each service takes the smallest size that fits it and is billed by the second it runs, so a stopped stack stops costing CPU and RAM. Its 9.77 GiB of volumes cost $0.15 per GiB a month ($1.47/mo) for as long as they exist. One workspace can use both. See pricing
Run it locally first
The same compose file runs with plain Docker Compose. Clone the template source, copy .env.example to .env, and run docker compose up -d.
Questions
How does this compare to GitHub Codespaces?
Codespaces bills by the core-hour plus storage, which is great for spiky use and stressful for always-on. This box is always warm, with state that never gets reclaimed, on a flat resource or by the second on Usage Billing. The trade: you maintain the toolchain inside it - which for a personal dev box is usually a feature.
Can I use my VS Code extensions?
code-server installs from Open VSX, which carries the large majority of popular extensions. A few Microsoft-proprietary ones (the official C# debugger, Live Share) are licensed only for official builds - the honest caveat of every VS Code fork.
Is it safe to expose an IDE to the internet?
It sits behind password auth over the platform’s TLS, like the catalogue’s other dev boxes. Use a long random password, keep real secrets in env rather than files where possible, and treat it like any machine that can run code - because it is one.
code-server or agent-box?
code-server when you want to write code in an IDE from anywhere; agent-box when you want agents (Claude Code, opencode) doing the writing in a persistent tmux session. Many people run both against the same repos - they are small deployments each, not a platform decision.