mirror of
https://github.com/SaraSmiseth/prosody.git
synced 2025-01-18 05:00:36 +00:00
parent
80216c5fdc
commit
1966b38aac
1 changed files with 12 additions and 1 deletions
13
readme.md
13
readme.md
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue