The Open Source DocuSign Alternative.
TypeScript digital-signaturedocument-signingdocusign-alternativee-signatureesignesignaturenext-authnextjsopen-sourcepades-standardpdfpdf-signpdf-signaturepostgresqlprismaself-hostedsigningtypescript
feat: add down flag for stopping environment
Mythie49cb50ed6e8a
diff --git a/scripts/dx.sh b/scripts/dx.shindex ac71645fe..94dcfbdf6 100755--- a/scripts/dx.sh+++ b/scripts/dx.sh@@ -28,6 +28,12 @@ pushd "$MONOREPO_ROOT" >/dev/null# On failure popd back to the original directorytrap "popd >/dev/null" EXIT+# If we have received the -down or -d flag, stop the containers+if [ "$1" = "-down" ] || [ "$1" = "-d" ]; then+ docker-compose -f "$MONOREPO_ROOT/docker/compose-without-app.yml" down+ exit 0+fi+docker-compose -f "$MONOREPO_ROOT/docker/compose-without-app.yml" up -d# Install dependencies