mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-13 06:34:39 -04:00
Docs: Document UPLOADS_MODE env var for Docker image
Signed-off-by: Danilo Bargen <mail@dbrgn.ch>
This commit is contained in:
parent
9728837f7c
commit
74d7fc06f3
1 changed files with 11 additions and 0 deletions
|
@ -48,6 +48,17 @@ After executing `docker-compose up`, HedgeDoc should be available at [http://127
|
||||||
You can now continue to configure your container with environment variables.
|
You can now continue to configure your container with environment variables.
|
||||||
Check out [the configuration docs](/configuration) for more details.
|
Check out [the configuration docs](/configuration) for more details.
|
||||||
|
|
||||||
|
## File Permissions
|
||||||
|
|
||||||
|
By default, HedgeDoc will change the permissions of the uploads directory to
|
||||||
|
`0700` on every start of the Docker container. This is OK if you keep the files
|
||||||
|
in a named volume, but if you want to serve the files from a webserver on your
|
||||||
|
host (e.g. an Nginx reverse proxy) the webserver may not have the permission to
|
||||||
|
read the files.
|
||||||
|
|
||||||
|
To fix this, you can set the `UPLOADS_MODE` env variable to something other
|
||||||
|
than `0700`.
|
||||||
|
|
||||||
## Upgrading
|
## Upgrading
|
||||||
|
|
||||||
!!! warning
|
!!! warning
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue