v0.9.4 bugs fixes
This commit is contained in:
61
.env.example
61
.env.example
@@ -1,15 +1,33 @@
|
||||
# jama Configuration
|
||||
# ─────────────────────────────────────────────────────────────
|
||||
# jama — Configuration
|
||||
# just another messaging app
|
||||
#
|
||||
# Copy this file to .env and customize before first run.
|
||||
# ─────────────────────────────────────────────────────────────
|
||||
|
||||
# Timezone — must match your host timezone (e.g. America/Toronto, Europe/London, Asia/Tokyo)
|
||||
# Run 'timedatectl' on your host to find the correct value
|
||||
TZ=UTC
|
||||
# Copy this file to .env and customize
|
||||
# Project name — used as the Docker container name.
|
||||
# If you run multiple jama instances on the same host, give each a unique name.
|
||||
PROJECT_NAME=jama
|
||||
|
||||
# Image version to run (set by build.sh, or use 'latest')
|
||||
JAMA_VERSION=0.9.3
|
||||
JAMA_VERSION=0.9.4
|
||||
|
||||
# Default admin credentials (used on FIRST RUN only)
|
||||
# App port — the host port Docker maps to the container
|
||||
PORT=3000
|
||||
|
||||
# Timezone — must match your host timezone
|
||||
# Run 'timedatectl' on Linux or 'ls /usr/share/zoneinfo' to find your value
|
||||
# Examples: America/Toronto, Europe/London, Asia/Tokyo
|
||||
TZ=UTC
|
||||
|
||||
# ── App ───────────────────────────────────────────────────────
|
||||
# App name (can also be changed in the Settings UI after first run)
|
||||
APP_NAME=jama
|
||||
|
||||
# Default public group name (created on first run only)
|
||||
DEFCHAT_NAME=General Chat
|
||||
|
||||
# ── Admin credentials (used on FIRST RUN only) ────────────────
|
||||
ADMIN_NAME=Admin User
|
||||
ADMIN_EMAIL=admin@jama.local
|
||||
ADMIN_PASS=Admin@1234
|
||||
@@ -17,25 +35,22 @@ ADMIN_PASS=Admin@1234
|
||||
# Default password for bulk-imported users (when no password is set in CSV)
|
||||
USER_PASS=user@1234
|
||||
|
||||
# Set to true to reset admin password to ADMIN_PASS on every restart
|
||||
# WARNING: Leave false in production - shows a warning on login page when true
|
||||
# Set to true to reset the admin password to ADMIN_PASS on every restart.
|
||||
# WARNING: Leave false in production — shows a warning banner on the login page when true.
|
||||
ADMPW_RESET=false
|
||||
|
||||
# JWT secret - change this to a random string in production!
|
||||
# ── Security ──────────────────────────────────────────────────
|
||||
# JWT secret — change this to a long random string in production!
|
||||
# Generate one: openssl rand -hex 32
|
||||
JWT_SECRET=changeme_super_secret_jwt_key_change_in_production
|
||||
|
||||
# Database encryption key (SQLCipher AES-256)
|
||||
# Generate a strong random key: openssl rand -hex 32
|
||||
# IMPORTANT: If you are upgrading from an unencrypted install, run the
|
||||
# migration script first: node scripts/encrypt-db.js
|
||||
# Leave blank to run without encryption (not recommended for production)
|
||||
# Generate a strong key: openssl rand -hex 32
|
||||
# Leave blank to run without encryption (not recommended for production).
|
||||
#
|
||||
# IMPORTANT — upgrading an existing unencrypted install:
|
||||
# 1. docker compose down
|
||||
# 2. Find your DB: docker volume inspect <project>_jama_db
|
||||
# 3. node backend/scripts/encrypt-db.js --db /path/to/jama.db --key YOUR_KEY
|
||||
# 4. Add DB_KEY=YOUR_KEY here, then: ./build.sh && docker compose up -d
|
||||
DB_KEY=
|
||||
|
||||
# App port (default 3000)
|
||||
PORT=3000
|
||||
|
||||
# App name (can also be changed in Settings UI)
|
||||
|
||||
# Default public group name (created on first run only)
|
||||
DEFCHAT_NAME=General Chat
|
||||
APP_NAME=jama
|
||||
|
||||
Reference in New Issue
Block a user