2020-05-20 17:05:59 +00:00
|
|
|
# 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
|
2021-02-05 09:37:37 +00:00
|
|
|
server-port: 3000
|
2020-05-20 17:05:59 +00:00
|
|
|
|
|
|
|
# Server proxy (none = no proxy)
|
2021-01-23 07:37:58 +00:00
|
|
|
# This value is used to trust upstream proxy
|
|
|
|
proxy: "127.0.0.1"
|
2020-05-20 17:05:59 +00:00
|
|
|
|
|
|
|
# User data storage
|
2020-07-14 07:15:08 +00:00
|
|
|
storage-url: http://devweb.local/comunic/current/user_data/
|
2020-05-20 17:05:59 +00:00
|
|
|
storage-path: /home/pierre/Documents/projets_web/comunic/current/user_data/
|
|
|
|
|
2021-02-20 08:31:38 +00:00
|
|
|
# URL where Comunic Terms of use are available
|
|
|
|
terms-url: http://devweb.local/comunic/current/about.php?cgu
|
2021-02-20 10:21:45 +00:00
|
|
|
privacy-policy-url: http://devweb.local/comunic/current/about.php?cgu&privacy
|
2021-02-20 08:31:38 +00:00
|
|
|
|
2021-02-20 08:44:34 +00:00
|
|
|
# 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
|
|
|
|
|
2021-02-06 15:38:51 +00:00
|
|
|
# Print more information to the console
|
|
|
|
verbose-mode: true
|
|
|
|
|
2021-04-11 15:08:30 +00:00
|
|
|
# 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
|
2021-04-15 09:08:11 +00:00
|
|
|
public-url: ws://192.168.1.9:4500/ws/{TOKEN_URL}
|
2021-04-11 15:08:30 +00:00
|
|
|
|
|
|
|
|
2020-05-20 17:05:59 +00:00
|
|
|
# Database configuration
|
|
|
|
database:
|
|
|
|
host: localhost
|
|
|
|
name: comunic
|
|
|
|
username: pierre
|
2020-07-08 11:33:55 +00:00
|
|
|
password: pierre
|
|
|
|
|
|
|
|
# If set to true, every requests made on the database will be shown on the terminal
|
2021-03-06 08:35:36 +00:00
|
|
|
log-all-queries: false
|
2021-02-06 15:59:27 +00:00
|
|
|
|
|
|
|
|
|
|
|
# Video calls configuration
|
|
|
|
rtc-relay:
|
2021-02-08 16:20:03 +00:00
|
|
|
ip: 127.0.0.1
|
2021-02-06 15:59:27 +00:00
|
|
|
token: SecretToken
|
|
|
|
ice-servers:
|
|
|
|
- stun:stun.l.google.com:19302
|
|
|
|
max-users-per-calls: 10
|
|
|
|
allow-video: true
|
2021-04-15 09:08:11 +00:00
|
|
|
max-users-per-video-calls: 6
|