Skip to content
DezfilDocsv0.1.0

Install

Install Dezfil with Docker, Docker Compose or from source, create the admin account, and keep the instance running day to day.

  • For Docker or Docker Compose: Docker, on a 64-bit Intel, AMD or Arm machine. Compose also needs the docker compose command.
  • For a development checkout: Node.js 24 or newer, npm and git.

Each release is published as the image ghcr.io/dezfil/dezfil, for linux/amd64 and linux/arm64.

Docker is the quickest start. Docker Compose keeps the setup in a file, and starts Dezfil again after a crash or a Docker restart. From source is for working on the code.

Docker

Terminal
docker run -d --name dezfil -p 127.0.0.1:3000:3000 -v dezfil-data:/data ghcr.io/dezfil/dezfil
  • -p 127.0.0.1:3000:3000 serves Dezfil on port 3000 of this machine only. To use another port, change the first 3000.
  • -v dezfil-data:/data keeps everything Dezfil stores in the dezfil-data volume. Without it, a new container starts empty.
  • --name dezfil is the name the everyday commands use.
  • ghcr.io/dezfil/dezfil is the latest release. To run one version, add its tag, as in ghcr.io/dezfil/dezfil:<VERSION>.

The first docker run downloads the image, which takes a few minutes. Dezfil should be ready within 30 seconds of starting. Check it:

Terminal
curl http://localhost:3000/api/health
Output
{"status":"ready"}

Then open http://localhost:3000.

If the check answers Internal Server Error or unready, or nothing at all, the logs say why: run docker logs dezfil or docker compose logs, or read the terminal that runs npm run dev. See Troubleshooting.

The setup page, titled Create the first account, with Name, Email and Password fields and a Create account button
The setup page, titled Create the first account, with Name, Email and Password fields and a Create account button
  1. Open http://localhost:3000. Dezfil shows Create the first account. On a server, run ssh -L 3000:127.0.0.1:3000 <YOUR_SERVER> on your computer first, then open the address there.
  2. Fill in Name, Email and Password. The password needs at least 8 characters, and very common passwords are refused.
  3. Click Create account. You should see Home, signed in as the admin.

To add people, open Users in the side menu and click Invite. See Users.

Docker

TaskCommand
Stopdocker stop dezfil
Startdocker start dezfil
See the logsdocker logs -f dezfil
Check healthcurl http://localhost:3000/api/health answers {"status":"ready"}
Back upStop Dezfil, then copy the dezfil-data volume with the commands in Back up and restore.
UpgradeFollow Upgrade: it downloads the new version, backs up, replaces the container and keeps a way back.

A new version updates the stored data when it starts. To go back, restore your backup and run the version that made it, as Go back to the old version shows.

Dezfil · Apache-2.0docs from 7439201b