# Self-host Tolgee

> A localization management platform where developers and translators work in one shared UI.

- Page: https://levelrail.com/templates/tolgee/
- JSON: https://levelrail.com/templates/tolgee.json
- Category: Developer Tools
- Licence: Apache-2.0 (Permissive license)
- Source: https://github.com/tolgee/tolgee-platform
- Upstream docs: https://tolgee.io/platform

## Requirements
- Memory: about 1 GiB
- amd64: published, arm64: published
- Needs configuration before start: no
- Pinned image tag: 16-alpine

## Services

| Service | Image | Tag | Ports | Volumes |
| --- | --- | --- | --- | --- |
| db | postgres | 16-alpine | none | tolgee_db_data -> /var/lib/postgresql/data |
| tolgee | tolgee/tolgee | v3.224.7 | 8080 | tolgee_data -> /data |

## Environment

| Service | Variable | Kind |
| --- | --- | --- |
| db | POSTGRES_DB | preset |
| db | POSTGRES_PASSWORD | generated |
| db | POSTGRES_USER | generated |
| tolgee | SPRING_DATASOURCE_PASSWORD | generated |
| tolgee | SPRING_DATASOURCE_URL | preset |
| tolgee | SPRING_DATASOURCE_USERNAME | generated |
| tolgee | TOLGEE_AUTHENTICATION_ENABLED | preset |
| tolgee | TOLGEE_AUTHENTICATION_INITIAL_PASSWORD | generated |
| tolgee | TOLGEE_AUTHENTICATION_INITIAL_USERNAME | preset |
| tolgee | TOLGEE_AUTHENTICATION_JWT_SECRET | generated |
| tolgee | TOLGEE_POSTGRES_AUTOSTART_ENABLED | preset |

## Deploy

### CLI

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

### API

```bash
curl -X POST -H "Authorization: Bearer $TOKEN" \
  https://levelrail.example.com/api/v1/service-templates/tolgee/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 Tolgee 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 tolgee for this app, so check that entry as well. Dokku deploys container images with its own commands, so the pinned image postgres:16-alpine, tolgee/tolgee:v3.224.7 is what you deploy there.

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