diff --git a/templates/docker-compose.yaml.j2 b/templates/docker-compose.yaml.j2
index bb1016ec6482cb60bbf0d78aadb369820c71ee73..e0b3fce5008a2f129fca071f48c096358a5410db 100644
--- a/templates/docker-compose.yaml.j2
+++ b/templates/docker-compose.yaml.j2
@@ -21,7 +21,7 @@ services:
         volumes:
             - filestore:/opt/odoo/data:z
 {# if prod and banking #}
-{% if item.value.prod_instance | default(false) == item.key and banking %}
+{% if item.value.prod_instance | default(false) == item.key and banking | default(false) %}
             - ./bank/:/ofx/:ro
 {% endif %}
 {% if private_pull is defined %}