Files
sorsfonalak/deploy/.env.example
T
fecoandClaude Opus 5.5 a571abdb65
CI / test (push) Successful in 1m49s
CI / build (push) Successful in 8m27s
CI / deploy (push) Skipped
worker: Telegram notice about every purchase (notify task)
A separate worker task, apart from invoicing: each paid checkout is
announced once to the operator's Telegram chat ('Páros csomag, 6 000 Ft',
marked when it was a test payment), without the buyer's data. Outages
and rate limits are retried; a wrong token or chat is logged, not
retried. Needs TELEGRAM_BOT_TOKEN (.env.secrets) and TELEGRAM_CHAT_ID.

Also fixes the worker test that still expected the old sign-up e-mail
subject (CI failed on it since 7d6a6c3).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012vLHzh5qUhFtmJhzkcTbXL
2026-11-21 19:04:20 +00:00

35 lines
1.2 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
# 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