Back to Apps
vscode via code-server

Deploy vscode via code-server on Your Own Server

code-server by Coder is VS Code running on a remote server, accessible through the browser.

🛠️ Developer Tools

Want to deploy vscode via code-server on your server faster? Try Senate with one-command setup, automatic HTTPS and monitoring.

Get Started

What is vscode via code-server?

This installation will install a Visual Studio Code that's accessible through browser! IMPORTANT: Make sure you have at least 2GB of RAM when you run code-server.

Self-Host vscode via code-server

Follow these steps to deploy on your own server.

1

Install Docker

Skip this step if Docker is already installed on your server.

curl -fsSL https://get.docker.com | sh
2

Configure

Customize the settings below. Defaults work for most cases.

General
3

Deploy

Copy the configuration and run it on your server.

services:
  vscode_coder:
    environment:
      PASSWORD: ""
    volumes:
      - vscode_coder-config-data:/home/coder/.local/share/code-server
      - vscode_coder-project-directory:/home/coder/project
      - vscode_coder-keys-directory:/root/.ssh
      - vscode_coder-theme-and-plugin-directory:/root/.local/share/code-server
volumes:
  vscode_coder-config-data: {}
  vscode_coder-project-directory: {}
  vscode_coder-keys-directory: {}
  vscode_coder-theme-and-plugin-directory: {}

Then run:

docker compose up -d
4

Access

Once started, access your app at http://localhost:8080

Why Self-Host vscode via code-server?

Full Data Ownership

Your data stays on your servers. No third-party access.

No Monthly Fees

Pay only for your server. No per-seat or usage charges.

Complete Control

Customize, backup, and scale on your own terms.

Privacy & Compliance

Meet GDPR, HIPAA, or internal security requirements.

Technical Details

Want to go faster?

Try Senate! Senate handles Docker, HTTPS, updates, and monitoring for you. Deploy any of our 300+ apps with a single command.

Install on any Linux server:

sh -c "$(curl -sSL https://get.senate.sh)"