Skip to main content

These are the docs for 0.27.0-beta, an older release.

See the current docs (0.28.0-beta) for what Norish does today.

Quick start

Save the file below as docker-compose.yml and run:

docker compose up -d

Open http://localhost:3000 and create your account.

docker-compose.yml
services:
norish:
image: norishapp/norish:latest
container_name: norish-app
restart: always
ports:
- "3000:3000"
user: "1000:1000"
volumes:
- norish_data:/app/uploads
environment:
AUTH_URL: http://localhost:3000
DATABASE_URL: postgres://postgres:norish@db:5432/norish
OBSCURA_ENDPOINT: ws://obscura:9222
OBSCURA_CDP_TOKEN: REPLACE_WITH_A_RANDOM_TOKEN
VALKEY_URL: valkey://valkey:6379
UPLOADS_DIR: /app/uploads
depends_on:
- db
- valkey

db:
image: postgres:17-alpine
container_name: norish-db
restart: unless-stopped
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: norish
POSTGRES_DB: norish
volumes:
- db_data:/var/lib/postgresql/data

# Renders recipe pages for URL imports
obscura:
image: norishapp/obscura:0.2.7-norish.1
container_name: norish-obscura
restart: unless-stopped
environment:
OBSCURA_CDP_TOKEN: REPLACE_WITH_A_RANDOM_TOKEN

valkey:
image: valkey/valkey:9
container_name: norish-valkey
restart: unless-stopped
volumes:
- valkey_data:/data

volumes:
db_data:
norish_data:
valkey_data:

Generating the secrets

The example generates a MASTER_KEY and OBSCURA_CDP_TOKEN in your browser. To generate your own, run

openssl rand -base64 32 # MASTER_KEY
openssl rand -hex 32 # OBSCURA_CDP_TOKEN, the same value on both services

Keep both values secret. If you change MASTER_KEY, Norish can no longer read the secrets it encrypted with the old key.

Production template

See docker-compose.example.yml for production settings.

First run

Sign in with your email and password. The first account owns the server. Norish then closes registration. Manage registration and other sign-in methods in Settings, under Admin.

Next steps