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

106 lines
3.1 KiB
YAML
Raw Normal View History

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
2022-03-16 18:15:02 +00:00
storage-url: http://devweb.internal/comunic/current/user_data/
2020-05-20 17:05:59 +00:00
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
2021-02-20 08:31:38 +00:00
# URL where Comunic Terms of use are available
2022-03-16 18:15:02 +00:00
terms-url: http://devweb.internal/comunic/current/about.php?cgu
privacy-policy-url: http://devweb.internal/comunic/current/about.php?cgu&privacy
2021-02-20 08:31:38 +00:00
# Email where the Comunic staff can be contacted
contact-email: contact@communiquons.org
2021-05-04 17:18:47 +00:00
# Password reset URL pattern
2022-03-16 18:15:02 +00:00
password-reset-url: https://devweb.internal/comunic/v2/reset_password?token=#{TOKEN}
2021-05-04 17:18:47 +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:
2021-10-16 15:45:25 +00:00
enabled: true
2021-04-11 15:08:30 +00:00
# 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-10-16 15:45:25 +00:00
enabled: true
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
2021-04-18 12:42:45 +00:00
2021-05-09 14:17:58 +00:00
# Admin URL
admin-url: http://localhost:3001
2021-05-09 14:17:58 +00:00
2021-12-29 18:10:47 +00:00
# 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/
2022-03-16 18:15:02 +00:00
# Allow bad content to be reported by users
2022-03-16 18:22:37 +00:00
allow_reporting: true
2021-12-29 18:10:47 +00:00
2021-04-18 12:42:45 +00:00
# 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