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

View file

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