All docs

Get started

Install Fettledesk

Install Fettledesk with Docker, run the setup wizard with the setup code, and put it online with HTTPS.

What you need

  • Docker Engine 24 or later with Compose v2: Docker Desktop on Windows and macOS, or Docker Engine on Linux.
  • About 1 GB of free memory and 2 GB of disk for a small team. The app and its database use under 200 MB of memory at rest.
  • An x86-64 (amd64) or ARM64 computer.

Try it on your computer

git clone https://github.com/stormhawkjordan/fettledesk.git
cd fettledesk
docker compose up -d

The first start builds the image, which takes a few minutes. Later starts take seconds. Then open http://localhost:8080.

On Linux and macOS, install.sh does the same and also writes a .env file with a random database password:

./install.sh                  # http://localhost:8080
./install.sh --port 8095      # on another port

Port 8080 already in use?

Choose another port, and tell Fettledesk the address you'll use: it refuses changes sent from any other address, to block cross-site request forgery.

HTTP_PORT=8095 PUBLIC_URL=http://localhost:8095 docker compose up -d

In Windows PowerShell:

$env:HTTP_PORT=8095; $env:PUBLIC_URL="http://localhost:8095"; docker compose up -d

The setup wizard

The first time you open Fettledesk, the setup wizard asks for:

  1. You: the setup code, then your name, email and a password. You become the first admin.
  2. Your organisation: its name and time zone.
  3. A first project: pick a template (IT service desk, software team or blank), and for the IT service desk, whether to track assets.
  4. Sample data (optional): realistic tickets, people and devices to explore with. You can delete the sample project later.

The setup code is printed in the server's log until setup has run, so only whoever runs the server can set it up, even if others can reach the address first. install.sh shows it when it finishes, or read the log:

docker compose logs app

Look for Not set up yet and copy the code (it looks like K7QM-3XRP). Capitals and the dash don't matter. To choose a code in advance for a scripted install, set SETUP_CODE (8 characters or more).

Put it online with HTTPS

For a server people reach over the network, use HTTPS. Fettledesk comes with a Caddy setup that gets and renews a certificate for you.

You need a Linux server with Docker (1 CPU and 1 GB of memory is enough for a few dozen staff; 2 GB is comfortable), a DNS name such as desk.example.org pointing at it, and ports 80 and 443 open to the internet.

./install.sh --domain desk.example.org --email [email protected]

or by hand:

DOMAIN=desk.example.org [email protected] \
  docker compose -f compose.yaml -f compose.prod.yaml up -d

Then open https://desk.example.org and run the setup wizard. Work through the security checklist before inviting people.

Inside your network only

If the server can't be reached from the internet, a public certificate authority can't check it. Either use a certificate from your own CA with your own proxy, or let Caddy be a local CA: in deploy/Caddyfile, add tls internal to the site block, then install Caddy's root certificate (in the caddy-data volume, at /data/caddy/pki/authorities/local/root.crt) on your staff's devices.

Behind your own reverse proxy

Already have nginx, Traefik, IIS or a load balancer? Use the plain compose.yaml and set:

PUBLIC_URL=https://desk.example.org
TRUST_PROXY=true
HTTP_PORT=127.0.0.1:8080

HTTP_PORT=127.0.0.1:8080 means only the proxy on the same machine can reach the app. The proxy must pass the original Host, set X-Forwarded-For and X-Forwarded-Proto, and accept uploads at least as large as ATTACHMENT_MAX_MB.

Boards, backlogs and tickets update live over server-sent events at /api/v1/projects/<key>/events. The proxy must pass these through without buffering or compressing them, and keep idle connections open for at least a minute. nginx and Caddy do this already.

server {
    listen 443 ssl;
    server_name desk.example.org;
    ssl_certificate     /etc/ssl/desk.example.org.crt;
    ssl_certificate_key /etc/ssl/desk.example.org.key;
    client_max_body_size 30m;

    location / {
        proxy_pass http://127.0.0.1:8080;
        proxy_set_header Host $host;
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
        proxy_set_header X-Forwarded-Proto $scheme;
        proxy_set_header X-Request-Id $request_id;
    }
}

Stop or remove it

docker compose down        # stop, and keep your data
docker compose down -v     # stop, and delete all data

Without Docker

Docker is the supported way, but you can run it with Node.js 24 and PostgreSQL 18: build with pnpm build, set DATABASE_URL, run node apps/server/dist/cli/migrate.js, then node apps/server/dist/main.js.