Rework deploy script to SSH directly into Unraid

Replace Portainer-based redeployment with direct SSH approach:
- Auto-detect podman/docker for local builds
- SCP compose file to Unraid
- Generate Postgres password in .env if missing
- Pull images and (re)start containers via SSH

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Julian Tabel
2026-02-10 09:32:41 +01:00
parent 3f39b5f0cb
commit 7ea6b30396
2 changed files with 45 additions and 34 deletions

View File

@@ -0,0 +1,12 @@
---
# nuzlocke-tracker-lhls
title: Add compose file sync to deploy script
status: completed
type: task
priority: normal
created_at: 2026-02-10T08:19:57Z
updated_at: 2026-02-10T08:20:13Z
parent: nuzlocke-tracker-ahza
---
Update deploy.sh to SCP docker-compose.prod.yml to the Unraid server at /mnt/user/appdata/nuzlocke-tracker/ before triggering the Portainer redeployment. SSH target: root@192.168.1.10 (port 22).