diff options
| author | Adam Malczewski <[email protected]> | 2026-06-04 21:21:20 +0900 |
|---|---|---|
| committer | Adam Malczewski <[email protected]> | 2026-06-04 21:21:20 +0900 |
| commit | 394f1ed37ce860da6fdc385769bf29f9737105cd (patch) | |
| tree | 4b825dc642cb6eb9a060e54bf8d69288fbee4904 /bin/up-backend | |
| parent | 81a9cdbadf8c9d940d4fe9a2a0de607dee1f5f1a (diff) | |
| download | dispatch-394f1ed37ce860da6fdc385769bf29f9737105cd.tar.gz dispatch-394f1ed37ce860da6fdc385769bf29f9737105cd.zip | |
chore: genesis — remove all files to rebuild from scratch (arch rewrite)
Diffstat (limited to 'bin/up-backend')
| -rwxr-xr-x | bin/up-backend | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/bin/up-backend b/bin/up-backend deleted file mode 100755 index 894fc01..0000000 --- a/bin/up-backend +++ /dev/null @@ -1,21 +0,0 @@ -#!/usr/bin/env bash -set -euo pipefail - -# Force GPG to use terminal-based pinentry (required for SSH sessions) -export GPG_TTY=$(tty) - -SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)" -PROJECT_DIR="$(dirname "$SCRIPT_DIR")" - -# Load secrets from gopass -OPENCODE_API_KEY="$(gopass show -o projects/ai-api/opencode_go_key)" - -# Pass host user identity so the container runs as the same UID/GID -export HOST_UID="$(id -u)" -export HOST_GID="$(id -g)" -export HOST_USER="$(whoami)" - -# Start API service only -sudo -E OPENCODE_API_KEY="$OPENCODE_API_KEY" \ - HOST_UID="$HOST_UID" HOST_GID="$HOST_GID" HOST_USER="$HOST_USER" \ - docker compose -f "$PROJECT_DIR/docker-compose.yml" up api "$@" |
