App Store template
code-server icon

code-server

Run VS Code in your browser with code-server on Sealos. Use password-protected HTTPS access and a persistent workspace for code, settings, and files.

Launch in your Sealos workspace.

code-server template preview
Template previewFull screenshot
Template deployments
33 on Sealos
Deployment
Your own instance
Category
Tools

About this template

Overview

Run VS Code in your browser with code-server on Sealos. Use password-protected HTTPS access and a persistent workspace for code, settings, and files.

From the documentation

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.

How to deploy code-server

  1. Choose Deploy now to start code-server in your Sealos workspace.
  2. Review PASSWORD in the deployment form.
  3. Launch the template, then inspect the application status and resource cards in Canvas.

Resources to plan for

Start with the resources defined by the code-server template. Review CPU, memory, persistent storage, and network allocations for every service in Canvas. Capacity needs depend on your data and workload; monitor usage as they grow.

Template configuration and setup

Access after deployment

Use the application URL or connection details shown in Canvas. Follow the deployment guide for first-time account setup or client configuration, and keep generated credentials available for that step.

Hosting and billing

Sealos monthly plans include compute, memory, storage, and traffic. Size your plan for all deployed services. Software licenses and external AI or API services may have separate terms and charges. Confirm the applicable plan and optional charges in Cost Center.

Compare Sealos resource plans
Read full documentationCollapse documentation

For current cloud charges, refer to Sealos plan pricing. Upstream documentation may reference earlier billing models.

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.

From launch to everyday operations

Why deploy
on Sealos

A shorter path from an app you want to an app you can run. Sealos brings deployment and ongoing operations into one place.

  1. One-click deployment

    Start with a ready-made template. Review its configuration and launch from the Sealos console.

  2. Managed Kubernetes

    Run on managed infrastructure with built-in workload scheduling and recovery.

  3. Automatic HTTPS

    Give your application a public HTTPS endpoint with certificates managed for you.

  4. Persistent storage

    Keep application data on persistent volumes across container restarts.

  5. Room to grow

    Adjust CPU, memory, and replicas from the console as your workload changes.

One template. Connected resources.

You Get the Whole Stack

Sealos provisions the resources defined by your template and brings them together in your workspace.

  • App Service

    Container workloads with configurable CPU, memory, and replicas.

  • Public HTTPS URL

    An address for your app, with managed TLS certificates.

  • Database

    A database provisioned alongside your app when the template calls for one.

  • Persistent Volume

    Storage for the files and data your application needs to keep.

  • Environment Variables

    Application settings and secrets configured in one place.

  • Logs & Metrics

    Inspect container logs and resource usage from the console.

Resources and their configuration vary by template. Review the deployment form for this app’s exact setup.

Explore more production-ready templates.

More