No description
- Shell 100%
| .gitignore | ||
| git-deploy.sh | ||
| readme.md | ||
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)"