services/forum (axum, port 8083) on the same database and login, in the forum schema (migration 0038, which also adds the moderator role): nicknames, profiles with shared signs, topics, threads with listening or advice intent, two-level replies, read marks and followed threads, reactions as ratings with points and ranks, newcomer limits (lifted by a purchase), moderation with reasons, bans and a log. Integration tests run in CI. The frontend's /forum pages (light by default, dark on request, phone first with a desktop layout) are switched on by FORUM_URL; the /api/v1 proxy sends /api/v1/forum/* to the forum service. Concept and status: docs/kozosseg.md. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012vLHzh5qUhFtmJhzkcTbXL
38 lines
1.3 KiB
Bash
38 lines
1.3 KiB
Bash
# Copy to /opt/sorsfonalak/.env on the server and fill in.
|
|
|
|
# Public domain (Caddy gets the certificate for it and www.<domain>)
|
|
DOMAIN=sorsfonalak.hu
|
|
# Long random string: openssl rand -hex 24
|
|
POSTGRES_PASSWORD=
|
|
|
|
# Google OAuth client ID(s), comma-separated
|
|
GOOGLE_CLIENT_IDS=
|
|
# These accounts become admins at their first login
|
|
BOOTSTRAP_ADMIN_EMAILS=
|
|
|
|
# Outgoing mail: Amazon SES (docs/levelkuldes.md). The credentials go to .env.secrets:
|
|
# SES_SMTP_USERNAME + SES_SMTP_PASSWORD, or AWS_ACCESS_KEY_ID + AWS_SECRET_ACCESS_KEY.
|
|
SES_REGION=eu-central-1
|
|
MAIL_FROM=Sorsfonalak <hello@sorsfonalak.hu>
|
|
|
|
# invite: new accounts need an invitation (default); open: anyone can sign up
|
|
SIGNUP_MODE=invite
|
|
|
|
# The forum (docs/kozosseg.md): it always runs, visitors see it once this is set
|
|
# FORUM_URL=http://forum:8083
|
|
|
|
# Image version; every deployment rewrites it
|
|
TAG=latest
|
|
|
|
# worker-ai: analyses and answers written at the same time.
|
|
# QUICK_CONCURRENCY=2 # summaries and answers
|
|
# ANALYSIS_CONCURRENCY=4 # detailed analyses and forecasts
|
|
|
|
# Beszel monitoring agent (deploy/README.md): the hub's public key.
|
|
# COMPOSE_PROFILES=monitoring
|
|
# BESZEL_KEY=ssh-ed25519 AAAA...
|
|
|
|
# Purchase notices to Telegram (worker notify task); the bot token
|
|
# (TELEGRAM_BOT_TOKEN) goes to .env.secrets.
|
|
# TELEGRAM_CHAT_ID=123456789
|