|
@@ -64,7 +64,22 @@ ejabber runs under user `ejabberd` with uid/guid `9000`. All data is stored in `
|
|
|
|
|
|
## Installation & Configuration
|
|
|
|
|
|
-1. Clone the repo and the [reverse proxy and Let's Encrypt companion)](https://git.in-ulm.de/ulpeters/reverse-proxy) to /opt/docker.
|
|
|
+1. Clone the repo and the [reverse proxy and Let's Encrypt companion)](https://git.in-ulm.de/ulpeters/reverse-proxy) to /opt/docker and prepare data folders with proper permissions.
|
|
|
+ ```
|
|
|
+ inst_dir=/opt/docker/ejabberd
|
|
|
+ mkdir -p $inst_dir/data/database \
|
|
|
+ $inst_dir/data/backup \
|
|
|
+ $inst_dir/data/upload \
|
|
|
+ $inst_dir/data/www \
|
|
|
+ && chown -R 9000:9000 $inst_dir/data/
|
|
|
+
|
|
|
+ mkdir -p $inst_dir/data/biboumi/database
|
|
|
+ chown -R 1000:1000 $inst_dir/data/biboumi/
|
|
|
+ ```
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
|
|
|
2. Copy `.env.template` to `.env` and setup your hostname and ip. A fixed ip is necessary to stun/turn to work.
|
|
|
|