From 97b7b22cd2584fd41acf121bffe2375e811a04ad Mon Sep 17 00:00:00 2001 From: Corey Peterson Date: Thu, 14 Nov 2024 15:39:25 -0500 Subject: [PATCH] Restores uploaded_widgets volume mount for app container --- docker/run_first_for_nondev.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/docker/run_first_for_nondev.sh b/docker/run_first_for_nondev.sh index 9b07fa97a..22abc81fe 100755 --- a/docker/run_first_for_nondev.sh +++ b/docker/run_first_for_nondev.sh @@ -67,6 +67,7 @@ docker compose pull app webserver # Remove the unnecessary volume mounts for the app service yq e 'del(.services.app.volumes)' docker-compose.override.yml > temp.yml && mv temp.yml docker-compose.override.yml +yq e '.services.app.volumes += ["uploaded_widgets:/var/www/html/public/widget/"]' docker-compose.override.yml > temp.yml && mv temp.yml docker-compose.override.yml # Update nginx config to use non-dev configuration yq e '(.services.webserver.volumes[] | select(contains("nginx-dev.conf"))) |= sub("nginx-dev.conf", "nginx-nondev.conf")' docker-compose.override.yml > temp.yml && mv temp.yml docker-compose.override.yml