# Self-host Automatisch

> A workflow automation tool that connects apps with triggers and actions.

- Page: https://levelrail.com/templates/automatisch/
- JSON: https://levelrail.com/templates/automatisch.json
- Category: Automation
- Licence: AGPL-3.0 (Network copyleft (AGPL) license)
- Source: https://github.com/automatisch/automatisch
- Upstream docs: https://automatisch.io/docs

## Requirements
- Memory: about 1 GiB
- amd64: unknown, arm64: unknown
- Needs configuration before start: no
- Pinned image tag: 0.15.0

## Services

| Service | Image | Tag | Ports | Volumes |
| --- | --- | --- | --- | --- |
| automatisch | automatischio/automatisch | 0.15.0 | 3000 | storage -> /automatisch/storage |
| db | postgres | 16-alpine | none | postgres_data -> /var/lib/postgresql/data |
| redis | redis | 7-alpine | none | redis_data -> /data |
| worker | automatischio/automatisch | 0.15.0 | none | storage -> /automatisch/storage |

## Environment

| Service | Variable | Kind |
| --- | --- | --- |
| automatisch | API_URL | preset |
| automatisch | APP_ENV | preset |
| automatisch | APP_SECRET_KEY | generated |
| automatisch | ENCRYPTION_KEY | generated |
| automatisch | HOST | preset |
| automatisch | PORT | preset |
| automatisch | POSTGRES_DATABASE | preset |
| automatisch | POSTGRES_HOST | preset |
| automatisch | POSTGRES_PASSWORD | generated |
| automatisch | POSTGRES_USERNAME | preset |
| automatisch | PROTOCOL | preset |
| automatisch | REDIS_HOST | preset |
| automatisch | REDIS_PASSWORD | generated |
| automatisch | WEBHOOK_SECRET_KEY | generated |
| automatisch | WEB_APP_URL | preset |
| db | POSTGRES_DB | preset |
| db | POSTGRES_PASSWORD | generated |
| db | POSTGRES_USER | preset |
| redis | REDIS_PASSWORD | generated |
| worker | APP_ENV | preset |
| worker | APP_SECRET_KEY | generated |
| worker | ENCRYPTION_KEY | generated |
| worker | POSTGRES_DATABASE | preset |
| worker | POSTGRES_HOST | preset |
| worker | POSTGRES_PASSWORD | generated |
| worker | POSTGRES_USERNAME | preset |
| worker | REDIS_HOST | preset |
| worker | REDIS_PASSWORD | generated |
| worker | WEBHOOK_SECRET_KEY | generated |
| worker | WORKER | preset |

## Deploy

### CLI

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

### API

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

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