forked from vikunja/vikunja
Added documentation for using non-root user with docker-compose
This commit is contained in:
parent
52009b3327
commit
51b73e0463
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue
Block a user