Commit 2aa25a10 authored by Mauro Velasco's avatar Mauro Velasco

Adding comment: The user which executes the docker-compose up command, must...

Adding comment: The user which executes the docker-compose up command, must belong to do docker group
parent d09d099a
......@@ -62,20 +62,19 @@ docker-compose exec xmpp-server bash
ls -al ~/localhost/
```
2. Take the id/gid of the offline folder chown it outside of the docker container so the offline storage is writable.
2. Take the id/gid of the offline folder chown it outside of the docker container so the offline storage is writable (The user which executes the docker-compose up command, must belong to do docker group).
```
sudo chown -R uid:gid prekey-server-docker-compose/prosody/data/localhost/
```
3. In some distributions could be neccesary execute the following steps:
- Modify prekey-server-docker-compose/prosody/Dockerfile adding:
- Modify prekey-server-docker-compose/prosody/Dockerfile adding:
```
RUN chown root:prosody /etc/prosody/certs/localhost.key
RUN chmod 660 /etc/prosody/certs/localhost.key
```
- Rebuild the image
- Rebuild the image
```
sudo docker-compose build
```
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment