# Self-host Soketi

> A simple, fast, Pusher-protocol-compatible WebSockets server for real-time app features.

- Page: https://levelrail.com/templates/soketi/
- JSON: https://levelrail.com/templates/soketi.json
- Category: Developer Tools
- Licence: AGPL-3.0 (Network copyleft (AGPL) license)
- Source: https://github.com/soketi/soketi
- Upstream docs: https://docs.soketi.app

## Requirements
- Memory: about 256 MiB
- amd64: published, arm64: published
- Needs configuration before start: no
- Pinned image tag: 1.6-16-debian

## Services

| Service | Image | Tag | Ports | Volumes |
| --- | --- | --- | --- | --- |
| soketi | quay.io/soketi/soketi | 1.6-16-debian | 6001 | none |

## Environment

| Service | Variable | Kind |
| --- | --- | --- |
| soketi | SOKETI_DEFAULT_APP_ID | generated |
| soketi | SOKETI_DEFAULT_APP_KEY | generated |
| soketi | SOKETI_DEFAULT_APP_SECRET | generated |
| soketi | SOKETI_PUSHER_SCHEME | preset |

## Deploy

### CLI

```bash
levelrail-cli templates deploy soketi --name my-soketi
```

### API

```bash
curl -X POST -H "Authorization: Bearer $TOKEN" \
  https://levelrail.example.com/api/v1/service-templates/soketi/deploy
```

Create a token in the dashboard first. This one-click route deploys it as a trial app you can keep or remove.

## Questions

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

The services and pinned images on this page can be run on any Docker host. The public Dokploy templates list has an entry with the id soketi for this app, so check that entry as well. Dokku deploys container images with its own commands, so the pinned image quay.io/soketi/soketi:1.6-16-debian is what you deploy there.

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