Skip to content
CookDex docs
You're reading the docs for CookDex v2026.11.3, an earlier release. See this page in the latest docs.

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.

  1. Download the compose file:

    Terminal window
    mkdir -p cookdex && cd cookdex
    curl -fsSL https://raw.githubusercontent.com/thekannen/cookdex/main/compose.ghcr.yml -o compose.yaml

    No .env file 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
  2. Start the service:

    Terminal window
    docker compose pull cookdex
    docker compose up -d cookdex
  3. 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.

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.

Update in place; your settings, run history and schedules stay in ./cache.

Terminal window
docker compose pull cookdex
docker compose up -d --remove-orphans cookdex

After 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.

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 ./cache can decrypt them. To keep the key separate, set MO_WEBUI_MASTER_KEY (a Fernet key: python -c "from cryptography.fernet import Fernet; print(Fernet.generate_key().decode())") or MO_WEBUI_MASTER_KEY_FILE pointing 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 .env file only holds container settings such as the port, base path and HTTPS. Older .env files that set Mealie or AI values still work; CookDex copies them into Settings on first start.