Add dev/prod environments with TrueNAS Docker production deploy.

Split PostgreSQL into gallery_dev and gallery_prod, add Docker/Gitea deploy tooling,
SMB image sync, pgAdmin split script, dev:web on Keenetic :5173, and operator docs.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Danila Khodjaef
2026-07-04 15:15:19 +03:00
co-authored by Cursor
parent 02d238b043
commit 2edf577faf
34 changed files with 1742 additions and 80 deletions
+17
View File
@@ -0,0 +1,17 @@
#!/usr/bin/env bash
# Load a docker save tarball on TrueNAS and tag for the Gallery Custom App.
set -euo pipefail
TAR_PATH="${1:-}"
TAG="${2:-latest}"
IMAGE="gitea.mysuperlab.netcraze.pro/danilka/gallery-web"
if [[ -z "$TAR_PATH" || ! -f "$TAR_PATH" ]]; then
echo "Usage: sudo bash truenas-load-image.sh /path/to/gallery-web.tar [tag]"
exit 1
fi
docker load -i "$TAR_PATH"
docker tag "${IMAGE}:${TAG}" "${IMAGE}:latest"
docker images "${IMAGE}"
echo "Set Custom App pull_policy to IfNotPresent, then restart gallery-web."