1
0
Fork 0
forked from mirror/prosody

Information about permissions (#25)

This fixes #3
This commit is contained in:
Sara Aimée Smiseth 2021-05-13 14:25:09 +02:00 committed by GitHub
parent 80216c5fdc
commit 1966b38aac
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -38,6 +38,7 @@ While Conversations got everything set-up out-of-the-box, Gajim was used with th
- [Symlinks](#symlinks)
- [Permissions](#permissions)
- [Run](#run)
- [Volumes permissions](#volumes-permissions)
- [Docker tags](#docker-tags)
- [Configuration](#configuration)
- [Environment variables](#environment-variables)
@ -142,6 +143,7 @@ For example ```cp -L src dest```.
##### Permissions
See official [documentation](https://prosody.im/doc/certificates#permissions) for more information.
Check [Volumes permissions](#volumes-permissions) as well.
### Run
@ -152,7 +154,7 @@ version: '3.7'
services:
server:
image: sarasmiseth/prosody:v1.0.0
image: sarasmiseth/prosody:latest
restart: unless-stopped
ports:
- "5000:5000"
@ -171,6 +173,15 @@ Boot it via: ```docker-compose up -d```.
Inspect logs: ```docker-compose logs -f```.
### Volumes permissions
The prosody user inside the container has the `uid=999` and `gid=999`. If you use the example `docker-compose.yml` from above make sure, that the `./data` folder and the `./certs` folder have the correct permissions.
``` shell
sudo chown 999:999 ./certs
sudo chown 999:999 ./data
```
### Docker tags
<https://hub.docker.com/r/sarasmiseth/prosody/tags>