chore(dev): add docker compose up/down helper scripts
This commit is contained in:
6
scripts/dev-down.sh
Executable file
6
scripts/dev-down.sh
Executable file
@@ -0,0 +1,6 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
set -euo pipefail
|
||||||
|
ROOT_DIR="$(cd "$(dirname "$0")/.." && pwd)"
|
||||||
|
cd "$ROOT_DIR"
|
||||||
|
|
||||||
|
docker compose down
|
||||||
13
scripts/dev-up.sh
Executable file
13
scripts/dev-up.sh
Executable file
@@ -0,0 +1,13 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
set -euo pipefail
|
||||||
|
|
||||||
|
ROOT_DIR="$(cd "$(dirname "$0")/.." && pwd)"
|
||||||
|
cd "$ROOT_DIR"
|
||||||
|
|
||||||
|
echo "[whispergate] building/starting no-reply API container"
|
||||||
|
docker compose up -d --build whispergate-no-reply-api
|
||||||
|
|
||||||
|
echo "[whispergate] health check"
|
||||||
|
curl -sS http://127.0.0.1:8787/health
|
||||||
|
|
||||||
|
echo "[whispergate] done"
|
||||||
Reference in New Issue
Block a user