code-server is the open-source project that runs full VS Code including extensions, integrated terminal, Git, IntelliSense — on a remote server, accessible from any browser. This guide deploys it on Ubuntu 24.04 with Docker Compose, fronted by Traefik for automatic HTTPS.

Prerequisites: an Ubuntu 24.04 server (1GB RAM / 2 vCPU minimum), a domain A record (e.g. code.example.com), Docker and Docker Compose installed.

Set Up the Project

$ mkdir -p ~/vscode-server/{project,config,local,letsencrypt}

$ cd ~/vscode-server