fix(install): make compose.yaml the single source of truth for image name
Remove TRITON_MANAGE_IMAGE from env.template so the name only lives in one place (compose.yaml default). The --image flag still works by appending to .env, which overrides the compose default. This prevents the hyphen/no-hyphen typo from recurring. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
f18f0eef48
commit
9d0a608c19
2 changed files with 3 additions and 3 deletions
|
|
@ -54,5 +54,5 @@ TLS_CERT_HOST_DIR=/etc/triton/tls
|
|||
# ─── Sessions ────────────────────────────────────────────────────────────
|
||||
TRITON_MANAGE_SESSION_TTL=24h
|
||||
|
||||
# ─── Image ───────────────────────────────────────────────────────────────
|
||||
TRITON_MANAGE_IMAGE=ghcr.io/primatekuntech/triton-manageserver:latest
|
||||
# ─── Image (override only — default is set in compose.yaml) ──────────────
|
||||
# TRITON_MANAGE_IMAGE=ghcr.io/primatekuntech/triton-manageserver:latest
|
||||
|
|
|
|||
|
|
@ -75,7 +75,7 @@ if [[ ! -f "$ENV_FILE" ]]; then
|
|||
|
||||
[[ -n "$GATEWAY_HOST" ]] && sed -i "s|^TRITON_MANAGE_GATEWAY_HOSTNAME=.*|TRITON_MANAGE_GATEWAY_HOSTNAME=$GATEWAY_HOST|" "$ENV_FILE"
|
||||
[[ -n "$HOST_IP" ]] && sed -i "s|^TRITON_MANAGE_HOST_IP=.*|TRITON_MANAGE_HOST_IP=$HOST_IP|" "$ENV_FILE"
|
||||
[[ -n "$IMAGE" ]] && sed -i "s|^TRITON_MANAGE_IMAGE=.*|TRITON_MANAGE_IMAGE=$IMAGE|" "$ENV_FILE"
|
||||
[[ -n "$IMAGE" ]] && printf '\nTRITON_MANAGE_IMAGE=%s\n' "$IMAGE" >> "$ENV_FILE"
|
||||
|
||||
info ".env created at $ENV_FILE"
|
||||
info " back this up — it contains the JWT signing key, worker key, and vault key"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue