1
0
mirror of https://gitlab.com/comunic/comunicapiv3 synced 2024-11-25 23:09:22 +00:00
comunicapiv3/config.yaml

60 lines
1.7 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"
# 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
# Independent push notification service information
independent-push-service:
# Server access (to create clients and push notifications)
control-url: http://localhost:4500/
control-token: BADTOKENTOCHANGE
# Public access URL pattern (for clients access) {TOKEN_URL} will be replaced by client token
public-url: http://localhost:4500/ws/{TOKEN_URL}
# 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: false
# 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