# Self-host Webtop

> A full Linux desktop in your browser, running as a container with a login.

- Page: https://levelrail.com/templates/webtop/
- JSON: https://levelrail.com/templates/webtop.json
- Category: Applications
- Licence: GPL-3.0-only (Copyleft license)
- Source: https://github.com/linuxserver/docker-webtop
- Upstream docs: https://docs.linuxserver.io/images/docker-webtop/

## Requirements
- Memory: about 2 GiB
- amd64: unknown, arm64: unknown
- Needs configuration before start: no
- Pinned image tag: 0c46c80a-ls325

## Services

| Service | Image | Tag | Ports | Volumes |
| --- | --- | --- | --- | --- |
| webtop | lscr.io/linuxserver/webtop | 0c46c80a-ls325 | 3000 | config -> /config |

## Environment

| Service | Variable | Kind |
| --- | --- | --- |
| webtop | CUSTOM_USER | preset |
| webtop | PASSWORD | generated |
| webtop | PGID | preset |
| webtop | PUID | preset |
| webtop | TZ | preset |

## Deploy

### CLI

```bash
levelrail-cli templates install webtop --name my-webtop
```

Add --domain SERVICE=HOST to serve a service on your own domain, for example --domain webtop=app.example.com.

### API

```bash
curl -X POST -H "Authorization: Bearer $TOKEN" -H "Content-Type: application/json" \
  https://levelrail.example.com/api/v1/service-templates/webtop/install \
  -d '{
    "name": "my-webtop"
  }'
```

Create a token in the dashboard first. Name, env and domains are the request fields.

## First run
1. Sign in as admin with the generated password.

## Questions

### Can I deploy Webtop on Dokploy or Dokku?

The services and pinned images on this page can be run on any Docker host. The public Dokploy templates list we compared does not have an entry with the same id for Webtop, so on Dokploy you would use a Docker Compose application with the file from this page. Dokku deploys container images with its own commands, so the pinned image lscr.io/linuxserver/webtop:0c46c80a-ls325 is what you deploy there.

Self-host Webtop, Webtop docker compose file, deploy Webtop on a VPS: this page lists the pinned image, ports, volumes and the commands for each.
