No description
Find a file
2025-11-21 14:02:55 +00:00
.gitignore .gitignore aktualisiert 2025-11-21 13:58:32 +00:00
git-deploy.sh git-deploy.sh aktualisiert 2025-11-21 14:02:55 +00:00
readme.md create readme 2025-05-13 02:35:44 +02:00

Deploy Scripts

git-deploy.sh

Deploy and sync with git repo.

create data.sh in same directory and set variables:

#!/bin/bash

GIT_UNAME="username"
GIT_PW="personal access token"
GIT_URL="https://${GIT_UNAME}:${GIT_PW}@link to repo"

DEPLOY_ROOT="dir to clone repo to"
STATE_DIR="where to state of script"
ZFS_DATASET_ROOT="zfs dataset to store data in"
APP_DATA_ROOT="path to the zfs dataset"
APP_NAME_PREFIX="app-deploy"
APP_USER="user:group inside container (usually 1000:1000)"