Skip to content

Commit

Permalink
fix: avoid recreating the db container
Browse files Browse the repository at this point in the history
When exporting the map, the docker-compose command was
recreating the container event when it was already up.
  • Loading branch information
ronoaldo committed Aug 29, 2024
1 parent df8a7cd commit 09fc918
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/export.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ warn() { log "WARN" "$*" ; }

export_map() {
info "Exporting protected map area ... This may take a long time."
docker-compose up -d db ; sleep 5
docker compose up -d --no-recreate db ; sleep 5
cp -v mapcleaner_protect.txt "${BASEDIR}/".minetest/world
cd "${BASEDIR}/".minetest/world || exit 1
rm -rf area-export
Expand Down

0 comments on commit 09fc918

Please sign in to comment.