Adding user option to template

Some containers do not support PUID and GUID, in that case it is handy to have an option to pass the user to the container from the compose file
This commit is contained in:
Nathan W 2023-03-06 09:23:00 -07:00 committed by GitHub
parent 80da5dc175
commit b61d15519b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -154,6 +154,9 @@ services:
- {{ envfile }}
{% endfor %}
{% endif %}
{% if container.user is defined %}
user: {{ container.user }}
{% endif %}
{% if container.restart is defined %}
restart: {{ container.restart }}
{% endif %}