allow run commands

This commit is contained in:
Your Name
2025-04-21 19:56:14 +12:00
parent 1a4b82b361
commit b622adfcf8
6 changed files with 30 additions and 43 deletions

View File

@ -7,8 +7,7 @@ _check_docker_installed || die "Docker test failed, aborting installation..."
# Create deploy and data folders
[ -z "$LOCAL_DATA_FOLDER" ] && die "LOCAL_DATA_FOLDER is not set"
create_folder "$LOCAL_DATA_FOLDER/data"
create_folder "$LOCAL_DATA_FOLDER/backups"
create_folder "$LOCAL_DATA_FOLDER"
# check can pull image on remote host and exit if fails
docker pull "$IMAGE_REGISTRY/$IMAGE_REPO:$IMAGE_TAG" || die "Failed to pull image $IMAGE_REGISTRY/$IMAGE_REPO:$IMAGE_TAG"