Added documentation for using non-root user with docker-compose

This commit is contained in:
rocktop 2023-06-07 19:09:25 +00:00
parent 52009b3327
commit 51b73e0463

View File

@ -107,6 +107,20 @@ This is a simple proxy configuration which will forward all requests to `/api/`
<b>NOTE:</b> Even if you want to make your installation available under a different port, you don't need to change anything in this configuration.
</div>
<div class="notification is-info">
<b>NOTE:</b> The API image supports running as the non-root user vikunja as long as PUID/PGUID are static. A modification to docker-compose is required.
</div>
{{< highlight yaml >}}
version: '3'
services:
api:
image: vikunja/api
user: vikunja <--- add this
{{< /highlight >}}
<div class="notification is-warning">
<b>NOTE:</b> If you change the max upload size in Vikunja's settings, you'll need to also change the <code>client_max_body_size</code> in the nginx proxy config.
</div>