Skip to Content
TimeWren Docs
Install

Dokploy

Deploy TimeWren on Dokploy from a custom template with a generated domain, four generated secrets and named volumes.

Choose this method if you already run Dokploy. The template pulls the published image and generates all secrets.

Requirements

  • A running Dokploy instance with a server and a domain.
  • The files from deploy/dokploy/ in the repository: docker-compose.yml and template.toml.

Note: The template has not been submitted to the Dokploy template library, so it does not appear in the catalog. You import it yourself as a custom template.

Deploy

  1. Download the two files:

    curl -fsSLO https://raw.githubusercontent.com/timewren/timewren/main/deploy/dokploy/docker-compose.yml
    curl -fsSLO https://raw.githubusercontent.com/timewren/timewren/main/deploy/dokploy/template.toml
  2. In Dokploy, import them as a custom template (Compose and TOML).

  3. Review the generated domain, or replace it with your own, then deploy.

What the template sets

template.toml generates a domain and four independent 64-character hexadecimal secrets, and routes the domain to the app service on port 3000:

VariableValue
NEXT_PUBLIC_APP_URLhttps:// plus the generated domain
POSTGRES_PASSWORDgenerated
BETTER_AUTH_SECRETgenerated
ENCRYPTION_KEYgenerated, 64 hex characters
CRON_SECRETgenerated

PostgreSQL data and uploads live in named volumes; the template defines no host mounts (mounts = []). The app and the scheduler pull the same image, and migrations run when the app starts. Set TIMEWREN_VERSION to pin both services to a release.

Optional mail, S3 and integration variables are exposed in the Compose file and use the names from .env.example. See Environment variables.

Create your account first

The first account becomes admin. Register immediately, or set ADMIN_EMAIL and a mail transport before you expose the URL.

Back up

Back up both volumes and ENCRYPTION_KEY.

Next steps

On this page