mirror of
https://github.com/okxlin/appstore.git
synced 2026-09-25 16:01:04 +00:00
Verified: official v3.0.2 compose alignment; adapter strict-store passed; manifests and pinned digests verified; real v1.132.3 pgvecto.rs to v3.0.2 VectorChord migration passed; 4 services healthy, HTTP 200, schema check clean after restart, no secret leak or fatal log findings.
17 lines
365 B
Bash
Executable File
17 lines
365 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -euo pipefail
|
|
|
|
ENV_FILE="${ENV_FILE:-./.env}"
|
|
|
|
if [[ ! -f "$ENV_FILE" ]]; then
|
|
echo "$ENV_FILE not found; skipped Immich environment migration"
|
|
exit 0
|
|
fi
|
|
|
|
if grep -qE '^DB_STORAGE_TYPE=' "$ENV_FILE"; then
|
|
echo "DB_STORAGE_TYPE already exists"
|
|
else
|
|
printf '%s\n' 'DB_STORAGE_TYPE=SSD' >> "$ENV_FILE"
|
|
echo "Added DB_STORAGE_TYPE"
|
|
fi
|