Skip to main content

Installation

torq runs as a single container with an embedded SQLite database. All you need is Docker and a persistent volume for /data.

Run torq​

docker run -d --name torq --restart unless-stopped \
-p 8080:8080 \
-v torq-data:/data \
-e TZ=Europe/Berlin \
ghcr.io/app-torq/torq:latest

Images are published for linux/amd64 and linux/arm64 (including Raspberry Pi 4/5 and ARM cloud servers). Every image is also tagged with its commit (ghcr.io/app-torq/torq:sha-<commit>) and release version (ghcr.io/app-torq/torq:v1.18.0), so you can pin a specific version if you prefer.

First start​

Open http://localhost:8080 in your browser. On a fresh database, torq prompts you to:

  1. Create the administrator account.
  2. Choose the default unit system (metric, US, or UK). These become the defaults for new users; each user can override their preferences later under Units and formats.
Create the administrator account immediately

Until the first administrator account exists, anyone who can reach torq can create it. Never expose a brand-new instance to the internet before completing this step.

Administrators can add more users under Settings → Users. Everyone in a torq instance shares one garage; administrators manage users, roles and permissions, webhooks, and instance settings.

Behind a reverse proxy​

torq does not terminate TLS itself. In production, place a reverse proxy (or a Cloudflare Tunnel) in front of port 8080 and set two environment variables:

  • TORQ_BASE_URL: Set to your public HTTPS URL without a trailing slash (for example https://torq.example.com). This enables links in notifications, passkeys, password resets, and the Secure cookie flag.
  • TORQ_TRUSTED_PROXIES: Set to the IP or CIDR of your reverse proxy (for example 127.0.0.1/32 or your Docker bridge subnet 172.16.0.0/12) so login throttling sees real client IPs via X-Forwarded-For and trusts X-Forwarded-Proto.
Caddyfile
torq.example.com {
reverse_proxy localhost:8080
}

Updating torq​

Back up /data first (see Data and backups), then pull and recreate the container:

docker compose pull
docker compose up -d

Database schema migrations run automatically on startup, and torq saves an automatic pre-upgrade backup in /data/backups/ before migrating.

Requirements​

ResourceRequirement
Disk~30 MB for the image, plus your SQLite database and uploaded photos/PDFs
MemoryWell under 100 MB of RAM in normal use; an online vehicle catalog update briefly uses up to ~200 MB
NetworkRuns completely offline; internet access is only needed for webhooks, SMTP email, online catalog updates, or optional spec-sheet auto-fill