mirror of
https://gitlab.com/comunic/comunicapiv3
synced 2024-11-22 05:19:21 +00:00
106 lines
3.1 KiB
YAML
106 lines
3.1 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.internal/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.internal/comunic/current/about.php?cgu
|
|
privacy-policy-url: http://devweb.internal/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.internal/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:
|
|
enabled: true
|
|
|
|
# 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:
|
|
enabled: true
|
|
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
|
|
|
|
# Global banner. It can be used to notify about an upcoming maintenance operation for example
|
|
banner:
|
|
# Specify whether the banner should be shown or not
|
|
enabled: true
|
|
|
|
# Optional expiration time for the banner. Set to 0 to show the message forever
|
|
expire: 1641801081
|
|
|
|
# Nature of the banner. It can be either "information", "warning", "success"
|
|
nature: warning
|
|
|
|
# The message of the banner, available in different languages
|
|
message:
|
|
fr: Une maintenance planifiée va provoquer une interruption de service de quelques minutes.
|
|
en: A planned maintenance will provoke a short unavailability of the service.
|
|
|
|
# Optional URL to "learn more" about the message. Leave an empty value to disable
|
|
link: https://about.communiquons.org/
|
|
|
|
# Allow bad content to be reported by users
|
|
allow_reporting: true
|
|
|
|
# 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 |