From 69c8ba5e9c49a7f085b6542612b4f2fc27432208 Mon Sep 17 00:00:00 2001 From: Muhammad Faraz Maqsood Date: Wed, 13 Mar 2024 12:55:55 +0500 Subject: [PATCH] fix: fix empty volumes list this error occurs during dev launch --- tutordiscovery/patches/local-docker-compose-dev-services | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tutordiscovery/patches/local-docker-compose-dev-services b/tutordiscovery/patches/local-docker-compose-dev-services index 6f55029..d48a7f9 100644 --- a/tutordiscovery/patches/local-docker-compose-dev-services +++ b/tutordiscovery/patches/local-docker-compose-dev-services @@ -4,10 +4,10 @@ discovery: command: ./manage.py runserver 0.0.0.0:8381 stdin_open: true tty: true + {%- for mount in iter_mounts(MOUNTS, "discovery") %} volumes: - {%- for mount in iter_mounts(MOUNTS, "discovery") %} - {{ mount }} - {%- endfor %} + {%- endfor %} ports: - "8381:8381" networks: