Skip to content
Snippets Groups Projects
Commit ad743e3e authored by Arthur Le Bars's avatar Arthur Le Bars
Browse files

jinja2 template syntax error fix

parent 6d44b97d
No related branches found
No related tags found
1 merge request!1Release 1.0
......@@ -56,18 +56,18 @@ services:
ENABLE_JBROWSE: /jbrowse/?data=data/{{ genus_species_sex }}
# This ENABLE_JBROWSE variable should point to the "best assembly" by default --> tag it in the input file and use it to define this variable correctly (also called
# unique id in the jbrowse tool parameters == both have to be identical)
{% if apollo == "True %}
{% if apollo == True %}
ENABLE_APOLLO: 1
{% else %}
ENABLE_APOLLO: 0
{% endif %}
{% if blast == "True" %}
{% if blast == True %}
ENABLE_BLAST: 1
{% else %}
ENABLE_BLAST: 0
{% endif %}
ENABLE_DOWNLOAD: 1
{% if wiki == "True" %}
{% if wiki == True %}
ENABLE_WIKI: 1
{% else %}
ENABLE_WIKI: 0
......@@ -221,7 +221,7 @@ services:
max_attempts: 3
window: 120s
{% if blast == "True" %}
{% if blast == True %}
blast:
image: quay.io/abretaud/sf-blast:latest
depends_on:
......
......@@ -19,7 +19,7 @@ services:
- {{ dashboard_port }}:8080 # added by lg to debug, for dashboard
{% endif %}
- {{ http_port }}:80
{% if if https_port is defined %}
{% if https_port is defined %}
- {{ https_port }}:443
{% endif %}
networks:
......@@ -37,7 +37,7 @@ services:
- "traefik.http.routers.traefik-api.tls=true"
- "traefik.http.routers.traefik-api.entryPoints=webs"
{% else %}
- "traefik.http.routers.traefik-api.entryPoints={{ entrypoint }}" # lg
- "traefik.http.routers.traefik-api.entryPoints=web" # lg
{% endif %}
- "traefik.http.routers.traefik-api.service=api@internal"
- "traefik.http.middlewares.traefik-strip.stripprefix.prefixes=/traefik"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment