-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7ce0d20
commit 5f01995
Showing
4 changed files
with
43 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
#!/usr/bin/env bash | ||
|
||
# -e Exit immediately if a pipeline returns a non-zero status | ||
# -o pipefail Produce a failure return code if any command errors | ||
set -eo pipefail | ||
|
||
# Args | ||
PLUGIN=${PWD##*/} | ||
|
||
# Environment variables | ||
export COMPOSE_PROJECT_NAME=${PLUGIN} | ||
|
||
docker compose down --volumes --remove-orphans |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
#!/usr/bin/env bash | ||
|
||
# -e Exit immediately if a pipeline returns a non-zero status | ||
# -o pipefail Produce a failure return code if any command errors | ||
set -eo pipefail | ||
|
||
# Args | ||
PLUGIN=${PWD##*/} | ||
|
||
# Environment variables | ||
export COMPOSE_PROJECT_NAME=${PLUGIN} | ||
|
||
docker compose up -d |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
#!/usr/bin/env bash | ||
|
||
# -e Exit immediately if a pipeline returns a non-zero status | ||
# -o pipefail Produce a failure return code if any command errors | ||
set -eo pipefail | ||
|
||
# Args | ||
PLUGIN=${PWD##*/} | ||
|
||
# Environment variables | ||
export COMPOSE_PROJECT_NAME=${PLUGIN} | ||
|
||
docker compose down |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters