mirror of
https://gitlab.com/comunic/comunicapiv3
synced 2024-11-22 05:19:21 +00:00
66 lines
1.8 KiB
YAML
66 lines
1.8 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/
|
|
|
|
# Specify whether user data files should be made available under the user_data directory
|
|
#
|
|
# It is your responsibility to update storage-url accordingly
|
|
serve-storage-files: true
|
|
|
|
# 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: ws://192.168.1.9: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
|