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:
co-authored by
Cursor
parent
02d238b043
commit
2edf577faf
@@ -0,0 +1,11 @@
|
||||
#!/usr/bin/env bash
|
||||
# Run on TrueNAS shell once before first deploy.
|
||||
set -euo pipefail
|
||||
|
||||
IMAGE_ROOT="/mnt/BasePool/Applications/Gallery/data/images"
|
||||
|
||||
mkdir -p "${IMAGE_ROOT}/portraits" "${IMAGE_ROOT}/paintings/thumbs"
|
||||
chown -R 1001:1001 "/mnt/BasePool/Applications/Gallery"
|
||||
chmod -R u+rwX,g+rwX "/mnt/BasePool/Applications/Gallery"
|
||||
|
||||
echo "Created ${IMAGE_ROOT} (owner uid 1001 = gallery user in container)"
|
||||
Reference in New Issue
Block a user