update rtpctl.d
- start can remove the default --no-permissions - removed docker (only needed in a jail) - rename dcoapp to app - removed dockge - added ixapp (instead of dockge)
This commit is contained in:
parent
7db2eda199
commit
3877084515
|
@ -69,7 +69,7 @@ case "${1}" in
|
|||
;;
|
||||
start)
|
||||
ROOT_FOLDER_HOST="${RUNTIPI_ROOT}" RUNTIPI_APP_DATA_PATH="${RUNTIPI_ROOT}" \
|
||||
runtipi-cli start --env-file user-config/.env.local --no-permissions
|
||||
runtipi-cli start --env-file user-config/.env.local ${2:---no-permissions}
|
||||
;;
|
||||
update)
|
||||
if [ -z "${2}" ]; then
|
||||
|
@ -78,18 +78,19 @@ case "${1}" in
|
|||
runtipi-cli update --env-file user-config/.env.local --no-permissions "${2:?Must supply version}" "${@:3}"
|
||||
fi
|
||||
;;
|
||||
docker)
|
||||
docker "${@:2}"
|
||||
;;
|
||||
dls)
|
||||
dls "${@:2}"
|
||||
;;
|
||||
app)
|
||||
runtipi-app-docker-compose "${@:2}"
|
||||
;;
|
||||
dockge)
|
||||
cd "${RUNTIPI_ROOT}/../dockge/stacks/${2:?Must supply stack name}" > /dev/null
|
||||
docker compose "${@:3}"
|
||||
ixapp)
|
||||
DCSRC="$(
|
||||
find /mnt/.ix-apps/app_configs/ -type f \
|
||||
-path "*/${2:?Must supply app name}/*/rendered/docker-compose.yaml" -printf '%T@ %p\n' \
|
||||
| sort -n | cut -d' ' -f2- | head -1
|
||||
)"
|
||||
docker compose "--file=${DCSRC}" "--project-name=ix-${2}" "${@:3}"
|
||||
;;
|
||||
shell)
|
||||
runtipi-app-docker-compose "${2:?}" exec ${5:+"${@:5}"} -it "${4:-${2}}" "${3:-bash}"
|
||||
|
@ -116,10 +117,11 @@ case "${1}" in
|
|||
"" "" "" \
|
||||
"docker/docker-compose" "" ""\
|
||||
"" "app" "docker compose for runtipi apps" \
|
||||
"" "ixapp" "docker compose for ix/TrueNAS SCALE docker based app" \
|
||||
"" "dls" "stylized docker ls" \
|
||||
"" "docker" "docker" \
|
||||
"" "dockge" "docker compose for dockge stacks" \
|
||||
"" "shell" "enter an insteractive shell" \
|
||||
"" "down-all" "stop and remove everything" \
|
||||
"" "" "" \
|
||||
"misc." "" ""\
|
||||
"" "exec" "execute within the shell, START_DIR env applies" \
|
||||
|
|
Loading…
Reference in New Issue