Unraid, ZimaOS and CasaOS
If your home server runs Unraid, ZimaOS or CasaOS, you can install Nametag from its app store instead of writing a docker-compose.yml yourself. Both listings use the same official image described in Installation.
ZimaOS and CasaOS
Section titled “ZimaOS and CasaOS”CasaOS has been succeeded by ZimaOS, and both use the same app store. The app installs everything Nametag needs in one go: the app, a PostgreSQL database, and a small container that runs the scheduled jobs.
- Open the App Store, search for Nametag and click Install.
- Before confirming, open the settings and change
NEXTAUTH_URLto the address you will open Nametag at, for examplehttp://192.168.1.10:10300. Sign-in links and emails use it. - Open Nametag from the dashboard and create your account.
- If other people on your network can reach the port, add
DISABLE_REGISTRATION=trueto the app’s environment once your account exists.
NEXTAUTH_SECRET, CRON_SECRET and the database password are generated on first start and stored in /DATA/AppData/nametag/data/secrets.env. Keep that file with your backups: if you lose it, new secrets are generated and everyone is signed out, but no data is lost.
To send reminder and password-reset emails, add the SMTP_* variables from Email to the nametag container.
Unraid
Section titled “Unraid”The Unraid template installs the Nametag container only. You need a PostgreSQL database running alongside it.
1. Set up PostgreSQL
Section titled “1. Set up PostgreSQL”Install a PostgreSQL container from Community Applications (the official postgres image, version 14 or newer, works). Create a database and user for Nametag, and note the server’s IP, port, user and password.
2. Prepare the photo folder
Section titled “2. Prepare the photo folder”The Nametag container runs as UID 1001, so its photo folder must be writable by that user. In the Unraid terminal, run:
mkdir -p /mnt/user/appdata/nametag/photoschown -R 1001:1001 /mnt/user/appdata/nametag3. Install Nametag
Section titled “3. Install Nametag”- In Apps, search for Nametag and click Install.
- Generate two secrets in the terminal with
openssl rand -base64 32, and paste them into Auth secret and Cron secret. - Set App URL to the address you open Nametag at, for example
http://192.168.1.10:3000. - Fill in the database fields from step 1 and click Apply.
4. Schedule the background jobs
Section titled “4. Schedule the background jobs”Reminders, CardDAV sync, cleanup and geocoding run when something calls Nametag’s cron endpoints. On Unraid, the User Scripts plugin can do this. Create one script per job, set it to a custom schedule, and paste:
#!/bin/bash# Change these two values to match your install.NAMETAG_URL="http://192.168.1.10:3000"CRON_SECRET="your-cron-secret"
curl -fsS -H "Authorization: Bearer $CRON_SECRET" "$NAMETAG_URL/api/cron/send-reminders"| Job | Endpoint | Suggested schedule |
|---|---|---|
| Reminders | send-reminders | 0 8 * * * |
| Cleanup | purge-deleted | 0 3 * * * |
| CardDAV sync | carddav-sync | 0 2,10,18 * * * |
| Geocoding | geocode | */5 * * * * |
Optional settings
Section titled “Optional settings”Redis and SMTP settings are in the template under Show more settings. Leave them empty if you don’t use them. To send email, fill in EMAIL_DOMAIN, SMTP_HOST, SMTP_PORT, SMTP_USER and SMTP_PASS as described in Email. For any other setting, click Add another Path, Port, Variable, Label or Device, choose Variable, and enter the name and value from Configuration.