mirror of
https://gitlab.linphone.org/BC/public/flexisip-account-manager.git
synced 2026-01-17 10:08:05 +00:00
101 lines
No EOL
3.3 KiB
Text
101 lines
No EOL
3.3 KiB
Text
APP_ENV=local
|
|
APP_KEY=
|
|
APP_DEBUG=false
|
|
APP_ROOT_HOST=
|
|
|
|
APP_LINPHONE_DAEMON_UNIX_PATH=
|
|
APP_FLEXISIP_PUSHER_PATH=
|
|
APP_FLEXISIP_PUSHER_FIREBASE_KEYSMAP= # Each pair is separated using a space and defined as a key:value
|
|
|
|
APP_ALLOW_PHONE_NUMBER_USERNAME_ADMIN_API=false # Allow phone numbers to be set as username in admin account creation endpoints
|
|
|
|
TERMS_OF_USE_URL= # A URL pointing to the Terms of Use
|
|
PRIVACY_POLICY_URL= # A URL pointing to the Privacy Policy
|
|
APP_PROJECT_URL= # A URL pointing to the project information page
|
|
|
|
# Expiration time for tokens and code, in minutes, 0 means no expiration
|
|
APP_API_ACCOUNT_CREATION_TOKEN_RETRY_MINUTES=60 # Number of minutes between two consecutive account_creation_token creation
|
|
APP_ACCOUNT_CREATION_TOKEN_EXPIRATION_MINUTES=0
|
|
APP_ACCOUNT_RECOVERY_TOKEN_EXPIRATION_MINUTES=0
|
|
APP_EMAIL_CHANGE_CODE_EXPIRATION_MINUTES=10
|
|
APP_PHONE_CHANGE_CODE_EXPIRATION_MINUTES=10
|
|
APP_RECOVERY_CODE_EXPIRATION_MINUTES=10
|
|
APP_PROVISIONING_TOKEN_EXPIRATION_MINUTES=0
|
|
APP_API_KEY_EXPIRATION_MINUTES=60 # Number of minutes the unused API Keys are valid
|
|
APP_RESET_PASSWORD_EMAIL_TOKEN_EXPIRATION_MINUTES=1440 # 24h
|
|
|
|
# Account creation and authentication
|
|
ACCOUNT_EMAIL_UNIQUE=false # Emails are unique between all the accounts
|
|
ACCOUNT_BLACKLISTED_USERNAMES=
|
|
ACCOUNT_USERNAME_REGEX="^[a-z0-9+_.-]*$"
|
|
ACCOUNT_DEFAULT_PASSWORD_ALGORITHM=SHA-256 # Can ONLY be MD5 or SHA-256 in capital, default to SHA-256
|
|
ACCOUNT_AUTHENTICATION_BEARER= # Bearer value (WWW-Authenticate: Bearer <value>) of the external service that can provide a trusted (eg. JWT token) for the authentication, takes priority and disable the DIGEST auth if set, see https://www.rfc-editor.org/rfc/rfc8898
|
|
|
|
# Blocking service
|
|
BLOCKING_TIME_PERIOD_CHECK=30 # Time span on which the blocking service will proceed, in minutes
|
|
BLOCKING_AMOUNT_EVENTS_AUTHORIZED_DURING_PERIOD=5 # Amount of account events authorized during this period
|
|
|
|
# FlexiSIP database
|
|
# Ensure that you have the proper SELinux configuration to allow database connections, see the README
|
|
DB_CONNECTION=mysql
|
|
DB_HOST=127.0.0.1
|
|
DB_PORT=3306
|
|
DB_DATABASE=flexisip
|
|
DB_USERNAME=flexisip
|
|
DB_PASSWORD=flexisip
|
|
|
|
# Redis
|
|
REDIS_CLIENT=phpredis # Use phpredis-sentinel and uncomment the REDIS_SENTINEL variable bellow
|
|
REDIS_HOST=127.0.0.1
|
|
REDIS_PORT=6379
|
|
REDIS_PASSWORD=
|
|
REDIS_DB=
|
|
|
|
# REDIS_SENTINEL_HOST=
|
|
# REDIS_SENTINEL_PORT=
|
|
# REDIS_SENTINEL_SERVICE=
|
|
# REDIS_SENTINEL_PASSWORD=
|
|
|
|
# Logs
|
|
# Ensure that you have the proper SELinux configuration to write in the storage directory, see the README
|
|
LOG_CHANNEL=stack
|
|
BROADCAST_DRIVER=log
|
|
QUEUE_CONNECTION=sync
|
|
SESSION_LIFETIME=120
|
|
|
|
# SMTP and emails
|
|
# Ensure that you have the proper SELinux configuration to allow emails sending, see the README
|
|
MAIL_DRIVER=
|
|
MAIL_HOST=
|
|
MAIL_PORT=2525
|
|
MAIL_USERNAME=
|
|
MAIL_PASSWORD=
|
|
MAIL_FROM_ADDRESS=from@example.com
|
|
MAIL_FROM_NAME=
|
|
MAIL_ALLOW_SELF_SIGNED=false
|
|
MAIL_VERIFY_PEER=true
|
|
MAIL_VERIFY_PEER_NAME=true
|
|
MAIL_SIGNATURE="The Example Team"
|
|
|
|
# CoTURN
|
|
COTURN_SERVER_HOST= # IP or domain name
|
|
COTURN_SESSION_TTL_MINUTES=1440 # 60 * 24
|
|
COTURN_STATIC_AUTH_SECRET= # static-auth-secret in the coturn configuration
|
|
|
|
# OVH SMS API variables
|
|
OVH_APP_KEY=
|
|
OVH_APP_SECRET=
|
|
OVH_APP_ENDPOINT=ovh-eu
|
|
OVH_APP_CONSUMER_KEY=
|
|
OVH_APP_SENDER=
|
|
|
|
# HCaptcha
|
|
HCAPTCHA_SECRET=secret-key
|
|
HCAPTCHA_SITEKEY=site-key
|
|
|
|
# JWT
|
|
JWT_RSA_PUBLIC_KEY_PEM=
|
|
JWT_SIP_IDENTIFIER=
|
|
|
|
# Temporary toggles
|
|
APP_SHOW_LOGIN_COUNTER_TEMP= # default true |