Update README

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2020-03-20 22:24:06 +01:00
parent b22f6d46ec
commit bfa2d2db0c
Signed by: luzifer
GPG key ID: DC2729FDD34BE99E

View file

@ -2,14 +2,20 @@
This container contains an [S6 overlay](https://github.com/just-containers/s6-overlay), a Prosody XMPP server, a nginx web-server and the [Jitsi components](https://jitsi.org/) to create a browser based video-chat from it.
The installation is based on the Jitsi/stable Debian installation with deactivated post-install scripts. To configure the container it needs to be started with the `JITSI_DOMAIN` environment variable which then is used to configure the container which internal certificates and configuration files.
The installation is based on the Jitsi/stable Debian installation with deactivated post-install scripts. To configure the container it needs to be started with some requirements which then are used to configure the container which internal certificates and configuration files.
After its start the container exposes port 80 to be proxied with a SSL / TLS terminating proxy.
After its start the container listens on the specified address to be proxied with a SSL / TLS terminating proxy.
Start requirements:
- Provide a `JITSI_DOMAIN` ENV var which will be used to configure the container
- Provide a `JITSI_ADDR` to have the container listen on
- Start the container with `--net=host` in order to have the components work properly
## Setup
```console
# docker run --rm -ti -e JITSI_DOMAIN=jitsi.example.com -p 127.0.0.1:1240:80 luzifer/jitsi
# docker run -d -e JITSI_DOMAIN=jitsi.example.com -e JITSI_ADDR=127.0.0.1:1240 --net=host luzifer/jitsi
# cat /etc/nginx/conf.d/jitsi.conf
server {
listen 443 ssl http2;