add deploy scripts and Tor skeleton from nullcart.

Prod deploy, cert bootstrap/issue/renew, and onion hostname helper for docker-compose.prod.
This commit is contained in:
2026-09-27 22:52:58 +02:00
parent 4cb44e4582
commit aff4d2cc6f
9 changed files with 196 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
#!/usr/bin/env bash
set -euo pipefail
ROOT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")/../.." && pwd)"
ENV_FILE="${ROOT_DIR}/.env.prod"
cd "$ROOT_DIR"
if [[ ! -f "$ENV_FILE" ]]; then
echo "Missing ${ENV_FILE}" >&2
exit 1
fi
docker compose --env-file "$ENV_FILE" -f docker-compose.prod.yml exec tor \
cat /var/lib/tor/hs/hostname