- Knownframe
- CookDex
- Docs
- v2026.11.4
- Install CookDex
Install CookDex
CookDex runs on your server next to Mealie, from GitHub Container Registry (ghcr.io/thekannen/cookdex). This page ends with the container running; Getting started picks up at first login.
Install
Section titled “Install”-
Download the compose file:
Terminal window mkdir -p cookdex && cd cookdexcurl -fsSL https://raw.githubusercontent.com/thekannen/cookdex/main/compose.ghcr.yml -o compose.yamlNo
.envfile is required. To override defaults (port, base path, etc.), optionally download and edit.env.example:Terminal window curl -fsSL https://raw.githubusercontent.com/thekannen/cookdex/main/.env.example -o .env -
Start the service:
Terminal window docker compose pull cookdexdocker compose up -d cookdex -
Check that it’s running:
Terminal window curl -k https://localhost:4820/cookdex/api/v1/health
Next: open https://localhost:4820/cookdex and follow Getting started.
Install on Unraid
Section titled “Install on Unraid”CookDex is in Unraid’s Community Apps.
-
In Unraid, open the Apps tab, search for CookDex and click Install.
-
Keep the defaults, or change them before clicking Apply:
Setting Default What it is Web UI port 4820Change the host side if 4820 is taken. Data /mnt/user/appdata/cookdex/cache→/app/cacheSettings, accounts, run history, encrypted secrets and backups. Keep it when updating. Show more settings has the Logs and Reports folders (under
/mnt/user/appdata/cookdex/), HTTPS (set it tofalsebehind a reverse proxy that handles HTTPS), URL path (/cookdex) and Master key (see Notes). -
Open
https://<server>:4820/cookdexand accept the self-signed certificate warning.
Next: follow Getting started to create the owner account and connect Mealie. If Mealie runs on the same Unraid server, its address is http://host.docker.internal:<Mealie's port>, since the template adds host.docker.internal for the host.
The template uses the latest tag; pick beta from the tag list to try releases early (see Image tags).
Required volumes
Section titled “Required volumes”| Host path | Container path | Purpose |
|---|---|---|
./cache |
/app/cache |
SQLite state database, encryption key, TLS certificate, and copies of deleted recipes |
./logs |
/app/logs |
Task run log files |
./reports |
/app/reports |
Audit and maintenance reports |
The ./cache volume stores the state database (settings, run history, schedules), the auto-generated encryption key, the TLS certificate, and the copies of deleted recipes kept in Recently deleted. Keep this volume persistent.
Updating
Section titled “Updating”Update in place; your settings, run history and schedules stay in ./cache.
docker compose pull cookdexdocker compose up -d --remove-orphans cookdexAfter updating, verify login and check /cookdex/api/v1/health.
Since 2026.10.2 the image is about 35 MB larger to download (about 150 MB more on disk), because CookDex now links ingredients itself; see Link ingredients.
Image tags
Section titled “Image tags”| Tag | Tracks |
|---|---|
latest |
The most recent stable release (default). Betas never move it. |
beta |
The most recent beta, for trying the next release early |
v2026.x.y |
A specific release, never moved; betas are v2026.x.y-beta.N |
edge |
The newest build from main, which may include unreleased changes |
sha-<commit> |
A specific main build; only the 20 most recent are kept |
To use a different tag, set COOKDEX_TAG in .env.
- All runtime settings are managed from the Settings page after login.
- Secrets (API tokens, the database connection string) are encrypted at rest. By default the key is generated on first start and kept in
./cache/webui/.secrets, next to the database it protects, so anyone with a copy of./cachecan decrypt them. To keep the key separate, setMO_WEBUI_MASTER_KEY(a Fernet key:python -c "from cryptography.fernet import Fernet; print(Fernet.generate_key().decode())") orMO_WEBUI_MASTER_KEY_FILEpointing at a file outside that volume, such as a Docker secret. Changing the key later makes saved secrets unreadable; Settings then asks for them again. - Sign-in sessions are stored as SHA-256 hashes, so a copy of the database can’t be used to sign in.
- Everything else (Mealie, AI, the optional database connection) is set in Settings. The optional
.envfile only holds container settings such as the port, base path and HTTPS. Older.envfiles that set Mealie or AI values still work; CookDex copies them into Settings on first start.