Add user
support
This commit is contained in:
parent
447db552cc
commit
411f1360e0
@ -45,6 +45,7 @@ containers:
|
|||||||
active: true
|
active: true
|
||||||
image: nextcloud
|
image: nextcloud
|
||||||
container_name: nextcloud
|
container_name: nextcloud
|
||||||
|
user: www-data
|
||||||
include_global_env_vars: false
|
include_global_env_vars: false
|
||||||
volumes:
|
volumes:
|
||||||
- "{{ appdata_path }}/nextcloud/html:/var/www/html"
|
- "{{ appdata_path }}/nextcloud/html:/var/www/html"
|
||||||
|
@ -18,6 +18,9 @@ services:
|
|||||||
{% if container.build is defined %}
|
{% if container.build is defined %}
|
||||||
build: {{ container.build }}
|
build: {{ container.build }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
{% if container.user is defined %}
|
||||||
|
user: {{ container.user }}
|
||||||
|
{$ endif %}
|
||||||
{% if container.privileged is defined %}
|
{% if container.privileged is defined %}
|
||||||
privileged: {{ container.privileged }}
|
privileged: {{ container.privileged }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user