1
0
mirror of https://gitlab.com/comunic/comunicapiv3 synced 2024-11-25 14:59:21 +00:00
comunicapiv3/config.yaml

82 lines
2.3 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
# Email where the Comunic staff can be contacted
contact-email: contact@communiquons.org
# Password reset URL pattern
password-reset-url: https://devweb.local/comunic/v2/reset_password?token=#{TOKEN}
# 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
# Admin URL
admin-url: http://localhost:3001
# List of #Forez groups
#
# This option allows to enable some extra features for these groups
#
# In most cases you should not have to specify this information
forez_groups:
- 32