---
title: "code-server template"
description: "VS Code in the browser, with a home directory on a disk."
path: "/templates/code-server/"
---

# code-server

VS Code in the browser, with a home directory on a disk.

One command creates the code-server app, a disk for the home directory, and a public address.

## Install

Run it in the environment you want. The command waits until the public address responds.

```
dflow templates:install code-server
```

One app and a 10Gi disk.

## Application

- Name: code-server
- Image: codercom/code-server:4.146.0
- Port: 8080
- Replicas: 1
- CPU: 1000 millicores
- Memory: 1024 Mi
- Disk: 10Gi at /home/coder
- Address: Public route


## How they connect

- dFlow generates PASSWORD for the app.
- The home directory is the disk at /home/coder.