Back to all templates
Coder logo

Coder

Development1024MB+ RAM

Self-hosted cloud development environments — provision remote workspaces (VS Code Web, JetBrains, JupyterLab) via Terraform

developmentdevtoolscoderopen-sourceself-hosteddocker

Deploy Coder in 3 Steps

1

Connect Your VPS

Add your server credentials to Server Compass

2

Select Coder

Choose from our template library

3

Deploy & Configure

Fill in settings and click Deploy

No Docker knowledge required
Step-by-step deployment guide

Deploy Coder on a VPS with Server Compass

Use the Coder template in Server Compass to deploy a self-hosted cloud development environment web UI on your VPS, then verify the setup screen.

About 10 minutesBrowser verified
1
Step 1

Open the server Apps tab

Select the tutorial-vps VPS, open the Apps tab, and start a new app deployment. Keep sensitive server details hidden before capturing or sharing screenshots.

Server Compass Apps tab before creating a Coder app
2
Step 2

Choose an app template

Click New App and choose the template deployment path so Server Compass can load the built-in catalog.

Choosing to deploy an app from a Server Compass template
3
Step 3

Search for Coder

Use the template picker search to find Coder in the Server Compass template catalog.

Searching for Coder in the Server Compass template picker
4
Step 4

Select the Coder template

Choose the Coder template. Server Compass fills the Coder control-plane service, PostgreSQL database, Docker socket mount, and public web port.

Coder template selected in Server Compass
5
Step 5

Review the Coder settings

Confirm the app name and compose service. In this run, the app was named coder-demo and used host port 4127.

Reviewing Coder project settings and compose service
6
Step 6

Deploy Coder

Review the generated compose settings, confirm the Coder web port is available, and click Deploy.

Reviewing Coder web port before deployment
7
Step 7

Watch the deployment progress

Keep the deployment modal open while Server Compass uploads the compose file, pulls the Coder image, starts the container, and verifies the stack.

Server Compass deploying the Coder template on the VPS
8
Step 8

Confirm Coder is running

After deployment finishes, return to the Apps tab and confirm the Coder app is marked Running with its application URL available.

Coder template running in the Server Compass Apps tab
9
Step 9

Open Coder in the browser

Open the application URL in a browser. The Coder setup or main page confirms the cloud development environment web UI is reachable.

The deployed Coder web UI loaded in a browser

After Coder Opens

  • Place Coder behind HTTPS before storing or sharing real files.
  • Change the generated admin password immediately after first login.
  • Create the first admin account immediately after deployment.
  • Back up the Coder config volume because it stores provider settings and the database.
  • Review the Docker socket access risk before using this on a shared host.
  • Import a small workspace template before adding production users.
  • Keep the Coder image updated for dependency and security fixes.

Verified Result

The Coder web interface loaded successfully from the deployed container.

Coder deployment questions

What does the Coder template deploy?

It deploys the Coder cloud development environment web UI with PostgreSQL database and persistent Coder home volume.

Which port did the tutorial use?

The tutorial used host port 4127, which maps to the Coder web UI on container port 7080.

Does Coder need setup after deployment?

Yes. Create the initial admin account in the first-run flow, then import a workspace template.

Should this become a blog post?

No. The deployment guide should live on the Coder template detail page and be linked from the reusable template deployment docs page.

After Deployment

After deploying Coder with Server Compass, complete these steps to finish setup

1

Visit the application URL and create the initial admin account

2

Import or write a workspace template (Terraform .tf files) — Docker, Kubernetes, AWS, GCP templates available

3

Create a workspace from the template

4

Connect via VS Code Web, the Coder CLI, or JetBrains Gateway

Need help? Check out our documentation for detailed guides.

Coder FAQ

Common questions about self-hosting Coder

How do I deploy Coder with Server Compass?

Simply download Server Compass, connect to your VPS, and select Coder from the templates list. Fill in the required configuration and click Deploy. The entire process takes under 3 minutes.

What are the system requirements for Coder?

Coder requires a minimum of 1024MB RAM. We recommend a VPS with at least 2048MB RAM for optimal performance. Any modern Linux server with Docker support will work.

Can I migrate my existing Coder data?

Yes! Server Compass provides volume mapping that allows you to import existing data. You can also use standard Coder backup and restore procedures.

How do I update Coder to the latest version?

Server Compass makes updates easy. Simply click the Update button in your deployment dashboard, and the latest Coder image will be pulled and deployed with zero downtime.

Is Coder free to self-host?

Coder is open-source software. You only pay for your VPS hosting (typically $5-20/month) and optionally Server Compass ($29 one-time). No subscription fees or per-seat pricing.

Ready to Self-Host Coder?

Download Server Compass and deploy Coder to your VPS in under 3 minutes. No Docker expertise required.

Download Server Compass