Client-Ansible-Setup/services/old_chat/.env

125 lines
2.9 KiB
Bash
Executable File

##
## Quark configuration
##
# MongoDB
MONGODB=mongodb://127.0.0.1
# Redis
REDIS_URI=redis://127.0.0.1/
# Hostname used for Caddy
# This should in most cases match REVOLT_APP_URL
HOSTNAME=https://chat.{{ domain_name }}
# URL to where the Revolt app is publicly accessible
REVOLT_APP_URL=https://chat.{{ domain_name }}
# URL to where the API is publicly accessible
REVOLT_PUBLIC_URL=https://chat.{{ domain_name }}/api
VITE_API_URL=https://chat.{{ domain_name }}/api
# URL to where the WebSocket server is publicly accessible
REVOLT_EXTERNAL_WS_URL=wss://chat.{{ domain_name }}/ws
# URL to where Autumn is publicly available
AUTUMN_PUBLIC_URL=https://chat.{{ domain_name }}/autumn
# URL to where January is publicly available
JANUARY_PUBLIC_URL=https://chat.{{ domain_name }}/january
# URL to where Vortex is publicly available
VOSO_PUBLIC_URL=https://chat.{{ domain_name }}/vortex
VOSO_WS_HOST=wss://chat.{{ domain_name }}/wsvortex
VOSO_MANAGE_TOKEN={{ service_chat_voso_manage_token }}
##
## hCaptcha Settings
##
# If you are sure that you don't want to use hCaptcha, set to 1.
REVOLT_UNSAFE_NO_CAPTCHA=1
# hCaptcha API key (This is the "Secret key" from your User Settings page)
# REVOLT_HCAPTCHA_KEY=0x0000000000000000000000000000000000000000
# hCaptcha site key
# REVOLT_HCAPTCHA_SITEKEY=10000000-ffff-ffff-ffff-000000000001
##
## Email Settings
##
# If you are sure that you don't want to use email verification, set to 1.
REVOLT_UNSAFE_NO_EMAIL=1
# SMTP host
# REVOLT_SMTP_HOST=smtp.example.com
# SMTP username
# REVOLT_SMTP_USERNAME=noreply@example.com
# SMTP password
# REVOLT_SMTP_PASSWORD=CHANGEME
# SMTP From header
# REVOLT_SMTP_FROM=Revolt <noreply@example.com>
##
## Application Settings
##
# Whether to only allow users to sign up if they have an invite code
REVOLT_INVITE_ONLY=1
# Maximum number of people that can be in a group chat
REVOLT_MAX_GROUP_SIZE=150
# Maximum number of servers a user can be in
REVOLT_MAX_SERVER_COUNT=100
# VAPID keys for push notifications
# Generate using this guide: https://gitlab.insrt.uk/revolt/delta/-/wikis/vapid
# --> Please replace these keys before going into production! <--
REVOLT_VAPID_PRIVATE_KEY={{ service_chat_revolt_vapid_private_key }}
REVOLT_VAPID_PUBLIC_KEY={{ service_chat_revolt_vapid_public_key }}
##
## Autumn configuration
##
AUTUMN_LOCAL_STORAGE_PATH=./data
# Shall use local files for autumn file server instead
# S3 Region
#AUTUMN_S3_REGION=minio
# S3 Endpoint
#AUTUMN_S3_ENDPOINT=http://127.0.0.1:19999
# MinIO Root User
#MINIO_ROOT_USER=minioautumn
# MinIO Root Password
#MINIO_ROOT_PASSWORD=f1iZ2wg7elGu7HIXISdT0BdpM9n8K4va66iLEji5fB0=
# AWS Access Key ID
#AWS_ACCESS_KEY_ID=minioautumn
# AWS Secret Key
#AWS_SECRET_ACCESS_KEY=f1iZ2wg7elGu7HIXISdT0BdpM9n8K4va66iLEji5fB0=
##
## Vortex configuration
##
MANAGE_TOKEN={{ service_chat_voso_manage_token }}
RTC_IPS=0.0.0.0,{{ proxy_server_ip }}
RTC_MIN_PORT=13000
RTC_MAX_PORT=13010
WS_URL=wss://chat.{{ domain_name }}/wsvortex