Skip to content

Commit

Permalink
Restores uploaded_widgets volume mount for app container
Browse files Browse the repository at this point in the history
  • Loading branch information
clpetersonucf committed Nov 14, 2024
1 parent 6a18934 commit 97b7b22
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docker/run_first_for_nondev.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 97b7b22

Please sign in to comment.