SupaKnock
Menu
Browse topics Install with Docker Compose
← Developer reference

Install and maintain

Install with Docker Compose

Get the image, create your Compose file and set up your first administrator.

The image is on Docker Hub: taylorarronj/supaknock. It supports both AMD64 and ARM64, including Apple Silicon.

You need Docker Engine with Compose v2, or Docker Desktop. You do not need to clone the source, build an image or install Python. SQLite is included; no separate database is needed to get started. Already running a server? Skip to your first API request.

1. Create a folder and a Compose file

Check that Docker is running, then create a folder for this installation:

docker compose version
mkdir supaknock
cd supaknock

Save the following as compose.yaml in that folder. This example is for trying SupaKnock on the same computer as your browser.

services:
  supaknock:
    image: taylorarronj/supaknock:latest
    restart: unless-stopped
    ports:
      - "127.0.0.1:8000:8000"
    environment:
      PUBLIC_BASE_URL: http://localhost:8000
      COOKIE_SECURE: "false"
      DATABASE_PROVIDER: sqlite
      DATABASE_URL: sqlite:///data/feedback.sqlite
    volumes:
      - feedback_data:/data
    stop_grace_period: 20s
    security_opt:
      - no-new-privileges:true
    cap_drop:
      - ALL
volumes:
  feedback_data:

supaknock is the service name used by the commands below. The named feedback_data volume keeps your database, encryption key and setup token when the container is replaced. Keep one SupaKnock instance per installation.

2. Download the image and start the server

docker compose pull supaknock
docker compose up -d supaknock
docker compose ps

The first download includes the optional AI runtime, so it can take a few minutes. Model weights are downloaded only if you enable their installation later. Wait for the container to become healthy, then open http://localhost:8000/setup.

Running this on a remote server? localhost in your browser is your own computer. Follow the domain and HTTPS steps before opening setup.

3. Create your administrator account

Read the generated setup token from your running container:

docker compose exec supaknock cat /data/setup.token

Paste it into the setup page and choose your administrator email and password. Keep the token private. Setup closes permanently after the first administrator is created; normal signup creates participant accounts.

Open /login on your server and sign in. Create a project and a board, then continue with your first feedback request, website chat or preview the free iPhone app (coming soon). On a phone, use your server’s HTTPS address, not localhost.

Upgrading an existing installation? Change only its image reference to taylorarronj/supaknock:latest, then follow the backup and update steps. These examples name the service supaknock. On an existing installation, use your current service name in the commands and keep its volume and settings. Stop the old service before renaming it so two containers never share the same database.

latest is the current published image. For a repeatable deployment, choose a release tag from Docker Hub’s tags or pin its digest. Pulling an image does not replace a running container; the up -d step applies it.

These docs describe the current source. Check your server’s /api/v1/openapi.json for the version you run.