mirror of
https://gitlab.com/comunic/comunicapiv3
synced 2024-11-22 13:29:21 +00:00
53 lines
1.4 KiB
YAML
53 lines
1.4 KiB
YAML
# Sample server configuration
|
|
#
|
|
# Copy and paste this file as
|
|
# config.private.yaml to edit it safely
|
|
#
|
|
# @author Pierre HUBERT
|
|
|
|
# Server listening information
|
|
server-address: 0.0.0.0
|
|
server-port: 3000
|
|
|
|
# Server proxy (none = no proxy)
|
|
# This value is used to trust upstream proxy
|
|
proxy: "127.0.0.1"
|
|
|
|
# If set to true Access-Control-Allow-Origin will be set for https
|
|
force-https: true
|
|
|
|
# User data storage
|
|
storage-url: http://devweb.local/comunic/current/user_data/
|
|
storage-path: /home/pierre/Documents/projets_web/comunic/current/user_data/
|
|
|
|
# URL where Comunic Terms of use are available
|
|
terms-url: http://devweb.local/comunic/current/about.php?cgu
|
|
privacy-policy-url: http://devweb.local/comunic/current/about.php?cgu&privacy
|
|
|
|
# Android application download URL
|
|
play-store-url: https://play.google.com/store/apps/details?id=org.communiquons.comunic
|
|
android-direct-download-url: https://files.communiquons.org/comunic/mobile/latest-android.php
|
|
|
|
# Print more information to the console
|
|
verbose-mode: true
|
|
|
|
# Database configuration
|
|
database:
|
|
host: localhost
|
|
name: comunic
|
|
username: pierre
|
|
password: pierre
|
|
|
|
# If set to true, every requests made on the database will be shown on the terminal
|
|
log-all-queries: true
|
|
|
|
|
|
# Video calls configuration
|
|
rtc-relay:
|
|
ip: 127.0.0.1
|
|
token: SecretToken
|
|
ice-servers:
|
|
- stun:stun.l.google.com:19302
|
|
max-users-per-calls: 10
|
|
allow-video: true
|
|
max-users-per-video-calls: 6 |