Add user support

This commit is contained in:
Corbin Bartsch 2022-08-30 19:54:10 -04:00 committed by Corbin Bartsch
parent 447db552cc
commit 411f1360e0
Signed by: coredotbin
GPG Key ID: B03E030E4322E9D5
2 changed files with 4 additions and 0 deletions

View File

@ -45,6 +45,7 @@ containers:
active: true
image: nextcloud
container_name: nextcloud
user: www-data
include_global_env_vars: false
volumes:
- "{{ appdata_path }}/nextcloud/html:/var/www/html"

View File

@ -18,6 +18,9 @@ services:
{% if container.build is defined %}
build: {{ container.build }}
{% endif %}
{% if container.user is defined %}
user: {{ container.user }}
{$ endif %}
{% if container.privileged is defined %}
privileged: {{ container.privileged }}
{% endif %}