Back to templates
code-server icon

Deploy code-server on Sealos

VS Code in the browser

Tools
Deploy code-server in a few clicks from the Sealos App Store.Run a self-hosted open-source service on Kubernetes-backed infrastructure.Get automatic HTTPS, routing, and resource management from Sealos.Avoid manual YAML while keeping control of the deployed workload.

Why deploy on Sealos

Sealos makes deploying any app effortless, secure, and production-ready. From one-click launch to ongoing operations, we handle the heavy lifting so you can focus on what matters.

One-Click Deploy
Sealos logo
Compute
Networking
Storage
Security
Observability
Your Application is Live

One-Click Deployment

Deploy any app template in seconds. No compose setup, manual configure, and go live.

Managed Kubernetes Reliability

Built on Sealos Managed Kubernetes for high availability, auto-scaling, and self-healing by default.

Automatic HTTPS & Security

Every deployment includes a secure domain with automatic SSL. We handle certificates and text protection for you.

Persistent Storage

Attach persistent volumes with ease. Your data stays safe, durable, and always accessible.

Scale when needed

Adjust resources as your app grows, no downtime required.

You Get the Whole Stack

Sealos provisions and connects every resource your application needs. Everything is ready to use.

One-click, fully provisionedSecure by defaultProduction ready

App Service

Your application is running and ready to serve requests.

Public HTTPS URL

Secure, global endpoint to access your application.

Database

Managed database instance for your application.

Persistent Volume

Durable storage for uploads and application data.

Environment Variables

Configuration and secrets injected securely into your app.

Logs & Metrics

Centralized logs and basic metrics are enabled.

README

README.md

Deploy and Host code-server on Sealos

code-server runs VS Code in the browser with a persistent workspace volume. This template deploys code-server 4.128.0 with password authentication, persistent home storage, and HTTPS access on Sealos Cloud.

code-server Screenshot

About Hosting code-server

code-server serves the VS Code web UI on port 8080. The Sealos template creates a single-replica Deployment with a Recreate update strategy, persistent /home/coder volume, Service, Ingress, and App entry.

Authentication is password-based. After deployment, open the generated HTTPS URL and enter the PASSWORD value from the deployment form.

Common Use Cases

  • Browser IDE: Edit files, use terminals, and run development commands from a browser.
  • Remote Workspace: Keep project files and VS Code settings on the persistent Sealos volume.
  • Lightweight Admin Console: Run quick maintenance commands from a secured web IDE.
  • Teaching and Demos: Provide a ready-to-use coding surface with one URL and one password.

Deployment Guide

  1. Open the code-server template and click Deploy Now.
  2. Set PASSWORD to a strong value.
  3. Wait for the Deployment to become ready, then open the generated HTTPS URL from Sealos Canvas.
  4. Enter PASSWORD on the sign-in screen.
  5. Save projects under /home/coder to keep them on persistent storage.

Configuration

NameDescriptionRequiredDefault
PASSWORDPassword used on the code-server sign-in screen.trueNone

Store the password in Sealos-managed inputs and rotate it from Canvas when access needs to change.

Scaling

The template starts with 200m CPU and 512Mi memory for a small interactive IDE session. Keep one replica while using the ReadWriteOnce volume, and increase resources from Sealos Canvas for language servers, dependency installation, or heavier terminal workloads.

Troubleshooting

Password is rejected

Confirm the current PASSWORD value in the Deployment input, update it from Canvas if needed, and restart the Deployment.

Terminal or language server is slow

Increase CPU and memory on the code-server Deployment. Large repositories and language servers can use more memory than the base editor.

Workspace files disappear

Confirm that files are saved under /home/coder. That path is backed by persistent storage.

Additional Resources

License

This Sealos template is provided under the template repository license. code-server is licensed by its upstream project.

Related templates

Explore more production-ready templates.

More