Zum Inhalt springen

Deployment

import { Aside } from ‘@astrojs/starlight/components’;

Diese Seite entspricht docker-compose.prod.yml und .env.example im Repository. Für lokale Entwicklung: Installation.

AbhängigkeitMinimum
Docker24+
Docker Compose v22.20+
RAM (App + Postgres + Redis)2 GB empfohlen
Terminal-Fenster
git clone https://github.com/defcon1702/orimora.git orimora
cd orimora
cp .env.example .env

Erforderliche Werte setzen, u. a. APP_URL, POSTGRES_PASSWORD, REDIS_PASSWORD, SESSION_SECRET, MAGIC_LINK_SECRET, LLM_ENCRYPTION_KEY (je 64 Hex-Zeichen für die Secrets).

Terminal-Fenster
docker compose -f docker-compose.prod.yml up -d --build
docker compose -f docker-compose.prod.yml exec app yarn db:migrate
curl -s http://localhost:3000/api/health

Im Browser APP_URL öffnen — bei leerer DB erscheint das Onboarding.

Namenskonvention wie in .env.example (nicht SECRET_KEY / PUBLIC_BASE_URL).

VariableRolle
APP_URLKanonische öffentliche URL
SESSION_SECRET / MAGIC_LINK_SECRETSession- und Magic-Link-Signierung
LLM_ENCRYPTION_KEYVerschlüsselung gespeicherter LLM-API-Keys
SMTP_*E-Mail-Versand (Magic Link)
COLLAB_SECREToptional für /collab

Vollständige Tabelle und Nginx-Beispiele: Englische Deployment-Seite oder DEPLOYMENT.md im Repo.

Terminal-Fenster
git pull
docker compose -f docker-compose.prod.yml build app
docker compose -f docker-compose.prod.yml up -d
docker compose -f docker-compose.prod.yml exec app yarn db:migrate