ansible-role-openstreamingp.../templates/config.py.dist

34 lines
869 B
Plaintext

# Set Database Location and Type
# For MySQL Connections add ?charset=utf8mb4 for full Unicode Support
dbLocation="{{ osp_db_location }}"
videoRoot="{{ osp_http_path }}"
# Redis Configuration
redisHost="localhost" # Default localhost
redisPort=6379 # Default 6379
redisPassword='' # Default ''
# Flask Secret Key
secretKey="{{ osp_secret_key }}"
# Password Salt Value
passwordSalt="{{ osp_password_salt }}"
# Allow Users to Register with the OSP Server
allowRegistration={{ osp_allow_registration }}
# Require Users to Confirm their Email Addresses
requireEmailRegistration={{ osp_require_email_registration }}
# Enables Debug Mode
debugMode = False
ospCoreAPI = "http://127.0.0.1:{{ osp_worker_start_port }}"
# EJabberD Configuration
ejabberdAdmin = "admin"
ejabberdPass = "{{ osp_ejabberd_password }}"
ejabberdHost = "localhost"
#ejabberdServer ="127.0.0.1"