From 73e4ce1daeb5befc26519bfa767279abe56bdcb9 Mon Sep 17 00:00:00 2001 From: BSounder Date: Thu, 7 Jul 2022 21:24:30 -0700 Subject: [PATCH] use mongo version variable in docker-compose template - about to test upgrading from 4.0 to 4.2 --- templates/docker-compose.yml.j2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/docker-compose.yml.j2 b/templates/docker-compose.yml.j2 index 51b00d0..34a5ca2 100644 --- a/templates/docker-compose.yml.j2 +++ b/templates/docker-compose.yml.j2 @@ -29,7 +29,7 @@ services: - "traefik.frontend.rule=Host: your.domain.tld" mongo: - image: mongo:4.0 + image: mongo:{{ mongo_version }} restart: unless-stopped volumes: - ./data/db:/data/db @@ -52,7 +52,7 @@ services: - ./data/db:/data/db mongo-init-replica: - image: mongo:4.0 + image: mongo:{{ mongo_version }} command: > bash -c "for (( ; ; )); do