Update container definitions to run all services as a non-root user.
This commit is contained in:
@@ -7,6 +7,9 @@ weatherfeeder:
|
||||
# Define the docker image to be used for this container.
|
||||
image: "{{ feedstack_weatherfeeder_container_image }}:{{ feedstack_weatherfeeder_container_tag }}"
|
||||
|
||||
# Define the user that the container should be run as.
|
||||
user: "{{ docker_user_id }}:{{ docker_group_id }}"
|
||||
|
||||
# Define the path where application data for this container will be stored.
|
||||
appdata_directory: "{{ docker_appdata_directory }}/weatherfeeder"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user