Initial pipelines server, CLI, TUI, and Go installation
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
#!/bin/sh
|
||||
# Keep OpenCode local; only ntfy runs in Docker. Public URL contains no secret.
|
||||
set -eu
|
||||
cd "$(dirname "$0")/.."
|
||||
if [ -z "${PIPELINES_NTFY_PUBLIC_URL:-}" ]; then
|
||||
PIPELINES_NTFY_PUBLIC_URL=$(sed -n 's/^NTFY_BASE_URL=//p' .env)
|
||||
fi
|
||||
export PIPELINES_NTFY_PUBLIC_URL
|
||||
export PIPELINES_NTFY_URL="${PIPELINES_NTFY_URL:-http://127.0.0.1:8090/pipelines}"
|
||||
if [ -z "${PIPELINES_NTFY_TOKEN:-}" ]; then
|
||||
export PIPELINES_NTFY_TOKEN_FILE="${PIPELINES_NTFY_TOKEN_FILE:-$(pwd)/secrets/ntfy-token.txt}"
|
||||
fi
|
||||
exec go run ./cmd/server "$@"
|
||||
Reference in New Issue
Block a user