From ca7a097160f5d8adc3a62e1aff3800585c608260 Mon Sep 17 00:00:00 2001 From: Andrea Dell'Amico Date: Tue, 8 Mar 2022 17:20:11 +0100 Subject: [PATCH] Support for port and container volumes. --- templates/shinyproxy-2-conf.yml.j2 | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/templates/shinyproxy-2-conf.yml.j2 b/templates/shinyproxy-2-conf.yml.j2 index c53a059..6883ab6 100644 --- a/templates/shinyproxy-2-conf.yml.j2 +++ b/templates/shinyproxy-2-conf.yml.j2 @@ -132,6 +132,10 @@ proxy: {% endif %} + {% if app.port is defined %}port: {{ app.port }}{% endif %} + + {% if app.container_volumes is defined %}container-volumes: [ {% for vol in app.container_volumes %} "{{ vol }}"{% if not loop.end%}, {% endif %}{% endfor %} ]{% endif %} + {% endfor %} {% endif %}