1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/galene_ynh.git synced 2024-09-03 18:36:31 +02:00
galene_ynh/doc/DISCLAIMER.md

41 lines
2.2 KiB
Markdown
Raw Normal View History

2021-05-29 15:21:20 +02:00
### Accessing groups
2021-05-22 18:47:41 +02:00
2021-06-02 09:04:43 +02:00
*Galène* meeting rooms are called "groups". Any group is accessible at `https://domain.tld/group/GroupName`, by typing its name in the home page search field, or by selecting it in the public list (if the group is configured as publicly visible, see below).
2021-05-26 21:11:16 +02:00
2021-05-29 15:21:20 +02:00
#### Creating and configuring groups
2021-05-26 21:11:16 +02:00
2021-06-02 09:04:43 +02:00
Groups are defined by JSON files located in the *Galène* folder (`/opt/yunohost/galene/groups`). Each group is represented by a `GroupName.json` file.
2021-05-29 15:21:20 +02:00
To create a new group, you need to create a `GroupNameExample.json` file (you can also make subfolder groups, and the groups will be accessible with `https://domain.tld/group/subfolder/GroupName`). Various options are available (see https://github.com/YunoHost-Apps/galene_ynh/wiki/Configuration-file).
2021-05-26 21:11:16 +02:00
*NB: spaces are supported in group file names.*
2021-05-29 15:21:20 +02:00
### Configuring your TURN server
2021-05-26 19:08:05 +02:00
2021-05-29 15:21:20 +02:00
#### Using *Galène*'s TURN server
Galène comes with a built-in TURN server that should work out-of-the-box.
- If your server is behind NAT, allow incoming traffic to TCP port `8443` (or whatever is configured with the `-http` option in `/etc/systemd/system/galene.service`) and TCP/UDP port `1194` (or whatever is configured with the `-turn` option in `/etc/systemd/system/galene.service`)
2021-05-26 19:08:05 +02:00
2021-05-29 15:21:20 +02:00
#### Using your own TURN server
2021-05-26 19:08:05 +02:00
- Install [coturn_ynh](https://github.com/YunoHost-Apps/coturn_ynh).
2021-05-29 15:21:20 +02:00
- Add `/opt/yunohost/galene/data/ice-servers.json` with these lines and change `turn.example.org` and `secret`
2021-05-26 19:08:05 +02:00
```
[
{
"urls": [
2021-06-02 09:04:43 +02:00
"turn:turn.example.org:5349",
"turn:turn.example.org:5349?transport=tcp"
2021-05-26 19:08:05 +02:00
],
"username": "galene",
"credential": "secret"
}
]
```
2021-05-29 15:21:20 +02:00
- set `/etc/systemd/system/galene.service` `-turn` option to `-turn auto`. (or `-turn ""` to disable the built-in TURN server)
2021-05-26 21:11:16 +02:00
2021-05-29 15:21:20 +02:00
To check if the TURN server is up and running, type `/relay-test` in the chat box. If the TURN server is properly configured, you should see a message saying that the relay test has been successful.
2021-05-26 21:11:16 +02:00
### Server Statistics page
2021-05-29 15:21:20 +02:00
Some statistics are available under `/opt/yunohost/galene/stats.json`, with a human-readable version at `domain.ltd/stats.html`. This is only available to the server administrator.