From f0335a41400d5fef3c0c9e3a3fdce3e681a4fe5c Mon Sep 17 00:00:00 2001 From: Andrea Dell'Amico Date: Tue, 8 Mar 2022 16:28:37 +0100 Subject: [PATCH] Fix some spacing. --- templates/shinyproxy-2-conf.yml.j2 | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/templates/shinyproxy-2-conf.yml.j2 b/templates/shinyproxy-2-conf.yml.j2 index 7868b5b..94bda82 100644 --- a/templates/shinyproxy-2-conf.yml.j2 +++ b/templates/shinyproxy-2-conf.yml.j2 @@ -98,6 +98,7 @@ proxy: display-name: {{ app.display_name }} description: {{ app.description }} {% if app.cmd is defined %}container-cmd: ["R", "-e {{ app.cmd }}"]{% endif %} + container-image: {{ app.docker_image }} container-memory: {{ app.docker_memory | default('2g') }} {% if shinyproxy_version is version_compare('2.6.0', '>=') %} @@ -107,12 +108,12 @@ proxy: {% endif %} - {% if app.environment is defined %} +{% if app.environment is defined %} container-env: - {% for env in app.environment %} +{% for env in app.environment %} {{ env.name }}: {{ env.value }} - {% endfor %} - {% endif %} +{% endfor %} +{% endif %} {% if shinyproxy_as_docker_service %} {% if shinyproxy_container_backend == 'docker-swarm' %}