All users in SaaS mode must have an email address. The bootstrap creates the admin user with primaryEmail set to SAAS_ADMIN_EMAIL (defaults to <SAAS_ADMIN_USER>@<PUBLIC_HOST>). This prevents the admin from being locked out when self-service registration (which requires email) is enabled via the Email Connector UI. Documentation updated across all CLAUDE.md files, .env.example, user-manual.md, and installer submodule (README, .env.example, compose). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
57 lines
1.6 KiB
Plaintext
57 lines
1.6 KiB
Plaintext
# Cameleer SaaS — Environment Configuration
|
|
# Copy to .env and fill in values for production
|
|
|
|
# Image version
|
|
VERSION=latest
|
|
|
|
# Public access
|
|
PUBLIC_HOST=localhost
|
|
PUBLIC_PROTOCOL=https
|
|
# Auth domain (Logto). Defaults to PUBLIC_HOST for single-domain setups.
|
|
# Set to a separate subdomain (e.g. auth.cameleer.io) to split auth from the app.
|
|
# AUTH_HOST=localhost
|
|
|
|
# Ports
|
|
HTTP_PORT=80
|
|
HTTPS_PORT=443
|
|
LOGTO_CONSOLE_PORT=3002
|
|
|
|
# PostgreSQL
|
|
POSTGRES_USER=cameleer
|
|
POSTGRES_PASSWORD=change_me_in_production
|
|
POSTGRES_DB=cameleer_saas
|
|
|
|
# ClickHouse
|
|
CLICKHOUSE_PASSWORD=change_me_in_production
|
|
|
|
# Admin user (created by bootstrap)
|
|
# Email is the primary user identity in SaaS mode. The admin email defaults
|
|
# to <SAAS_ADMIN_USER>@<PUBLIC_HOST> if not set explicitly.
|
|
SAAS_ADMIN_USER=admin
|
|
SAAS_ADMIN_PASS=change_me_in_production
|
|
# SAAS_ADMIN_EMAIL=admin@example.com
|
|
|
|
# SMTP / email connector configuration is managed at runtime via the vendor
|
|
# admin UI (Email Connector page at /vendor/email). No SMTP env vars needed.
|
|
|
|
# TLS (leave empty for self-signed)
|
|
# NODE_TLS_REJECT=0 # Set to 1 when using real certificates
|
|
# CERT_FILE=
|
|
# KEY_FILE=
|
|
# CA_FILE=
|
|
|
|
# Vendor account (optional)
|
|
VENDOR_SEED_ENABLED=false
|
|
# VENDOR_USER=vendor
|
|
# VENDOR_PASS=change_me
|
|
|
|
# Docker socket GID (run: stat -c '%g' /var/run/docker.sock)
|
|
# DOCKER_GID=0
|
|
|
|
# Docker images (override for custom registries)
|
|
# TRAEFIK_IMAGE=gitea.siegeln.net/cameleer/cameleer-traefik
|
|
# POSTGRES_IMAGE=gitea.siegeln.net/cameleer/cameleer-postgres
|
|
# CLICKHOUSE_IMAGE=gitea.siegeln.net/cameleer/cameleer-clickhouse
|
|
# LOGTO_IMAGE=gitea.siegeln.net/cameleer/cameleer-logto
|
|
# CAMELEER_IMAGE=gitea.siegeln.net/cameleer/cameleer-saas
|