docker-reset.sh: arg to make it easier to deploy

This commit is contained in:
pedro 2024-09-28 12:11:20 -03:00
parent 665fbf852a
commit 029640347d
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@ main() {
fi fi
# remove old database # remove old database
sudo rm -vf db/* sudo rm -vf db/*
docker compose down docker compose down -v
docker compose build docker compose build
docker compose up ${detach_arg:-} docker compose up ${detach_arg:-}
} }