freeze initial panda-rpki staging
Some checks failed
ci / rust (push) Has been cancelled
ci / docker-runtime (push) Has been cancelled

This commit is contained in:
2026-09-01 12:13:53 +08:00
commit 15c8de82ba
259 changed files with 98127 additions and 0 deletions

14
deploy/docker/scripts/start.sh Executable file
View File

@@ -0,0 +1,14 @@
#!/usr/bin/env bash
set -euo pipefail
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
COMPOSE_ROOT="$(cd "$SCRIPT_DIR/.." && pwd)"
cd "$COMPOSE_ROOT"
[[ -f .env ]] || { echo "missing $COMPOSE_ROOT/.env; copy .env.example first" >&2; exit 2; }
set -a
# shellcheck disable=SC1091
source .env
set +a
mkdir -p "${HOST_DATA_DIR:-/var/lib/panda-rpki-validator}"/{state,runs,logs,tmp}
docker compose -f compose.yml up -d

View File

@@ -0,0 +1,7 @@
#!/usr/bin/env bash
set -euo pipefail
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
COMPOSE_ROOT="$(cd "$SCRIPT_DIR/.." && pwd)"
cd "$COMPOSE_ROOT"
docker compose -f compose.yml ps

7
deploy/docker/scripts/stop.sh Executable file
View File

@@ -0,0 +1,7 @@
#!/usr/bin/env bash
set -euo pipefail
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
COMPOSE_ROOT="$(cd "$SCRIPT_DIR/.." && pwd)"
cd "$COMPOSE_ROOT"
docker compose -f compose.yml down