APP_PORT=5006
# Optional stack suffix for running a second isolated dev instance.
# Example: GIA_STACK_ID=selfdev
GIA_STACK_ID=
# Optional deterministic port offset when STACK_ID is set.
GIA_STACK_PORT_OFFSET=
REPO_DIR=.
APP_LOCAL_SETTINGS=./app/local_settings.py
APP_DATABASE_FILE=./db.sqlite3
DOMAIN=example.com
URL=https://example.com
ALLOWED_HOSTS=example.com
NOTIFY_TOPIC=example-topic
# Optional explicit ntfy topic/url for scripts/quadlet/watchdog.sh
NTFY_TOPIC=
NTFY_URL_BASE=https://ntfy.sh
CSRF_TRUSTED_ORIGINS=https://example.com
DEBUG=y
SECRET_KEY=
STATIC_ROOT=/code/static
REGISTRATION_OPEN=0
OPERATION=uwsgi
BILLING_ENABLED=0
COMPOSE_WS_ENABLED=true
EVENT_LEDGER_DUAL_WRITE=true
CAPABILITY_ENFORCEMENT_ENABLED=true
TRACE_PROPAGATION_ENABLED=true
EVENT_PRIMARY_WRITE_PATH=false

# XMPP component bridge (UR -> Prosody)
XMPP_ADDRESS=127.0.0.1
XMPP_JID=jews.example.com
# End-user XMPP domain for client-facing JIDs (e.g. user@example.com).
XMPP_USER_DOMAIN=example.com
XMPP_PORT=8888
# Auto-generated if empty by Prosody startup helpers.
XMPP_SECRET=
# XEP-0363 upload service (used by clients + relay attachment upload).
XMPP_UPLOAD_SERVICE=example.com
# Optional legacy alias consumed by app fallback:
# XMPP_UPLOAD_JID=upload.example.com
XMPP_UPLOAD_BASE_URL=https://share.example.com/file_share
# Directory for OMEMO key storage. Defaults to <BASE_DIR>/xmpp_omemo_data if unset.
# XMPP_OMEMO_DATA_DIR=./.podman/gia_xmpp_omemo_data

# Optional Prosody container storage/config paths used by utilities/prosody/manage_prosody_container.sh
PROSODY_IMAGE=docker.io/prosody/prosody:trunk
QUADLET_PROSODY_CONFIG_FILE=./utilities/prosody/prosody.cfg.lua
QUADLET_PROSODY_CERTS_DIR=./.podman/gia_prosody_certs
QUADLET_PROSODY_DATA_DIR=./.podman/gia_prosody_data
QUADLET_PROSODY_LOGS_DIR=./.podman/gia_prosody_logs

# Signal CLI account number (E.164 format, e.g. +447700900000). Required for Signal integration.
SIGNAL_NUMBER=

# Memory/wiki search backend foundation
MEMORY_SEARCH_BACKEND=django
MANTICORE_HTTP_URL=http://localhost:9308
MANTICORE_MEMORY_TABLE=gia_memory_items
MANTICORE_EVENT_TABLE=gia_events
MANTICORE_METRIC_TABLE=gia_metrics
COMPOSING_ABANDONED_WINDOW_SECONDS=300
CONVERSATION_EVENT_RETENTION_DAYS=90
MANTICORE_HTTP_TIMEOUT=5
ATTACHMENT_MAX_BYTES=26214400
ATTACHMENT_ALLOW_PRIVATE_URLS=false
ATTACHMENT_ALLOW_UNKNOWN_MIME=false
