clarify permissions required for data volume

This commit is contained in:
El RIDO 2019-06-24 22:26:00 +02:00
parent dba458cad9
commit c1bcafcc02
No known key found for this signature in database
GPG Key ID: 0F5C940A6BD81F92

View File

@ -20,6 +20,8 @@ The parameters in detail:
- `-d` - launches the container in the background. You can use `docker ps` and `docker logs` to check if the container is alive and well.
- `--restart="always"` - restart the container if it crashes, mainly useful for production setups
> Note that the volume mounted must be owned by UID 65534 / GID 82. If you run the container in a docker instance with "userns-remap" you need to add your subuid/subgid range to these numbers.
### Custom configuration
In case you want to use a customized [conf.php](https://github.com/PrivateBin/PrivateBin/blob/master/cfg/conf.sample.php) file, for example one that has file uploads enabled or that uses a different template, add the file as a second volume: