Mount of the docker socket is optional.

This commit is contained in:
Andrea Dell'Amico 2024-04-09 16:54:51 +02:00
parent 2abd5406c7
commit 9f08faacec
Signed by: adellam
GPG Key ID: 147ABE6CEB9E20FF
2 changed files with 3 additions and 0 deletions

View File

@ -4,6 +4,7 @@
# https://github.com/openanalytics/shinyproxy-config-examples
shinyproxy_install: true
shinyproxy_as_docker_service: false
shinyproxy_docker_privileged_user: false
shinyproxy_major_ver: 3
shinyproxy_minor_ver: 0
shinyproxy_patch_ver: 2

View File

@ -44,7 +44,9 @@ services:
{% endif %}
{% endif %}
volumes:
{% if shinyproxy_docker_privileged_user %}
- /var/run/docker.sock:/var/run/docker.sock
{% endif %}
{% if shinyproxy_docker_mount_conf_file %}
- {{ shinyproxy_as_docker_src_dir }}/application.yml:{{ shinyproxy_conf_dir }}/application.yml
{% endif %}