This commit is contained in:
Your Name
2025-05-05 21:12:50 +12:00
parent e727fc518f
commit 63490d9ce3
16 changed files with 127 additions and 75 deletions

View File

@ -2,9 +2,7 @@
source "${AGENT_PATH}/_common.sh"
_check_required_env_vars "CONTAINER_NAME" "IMAGE_REGISTRY" "IMAGE_REPO" "IMAGE_TAG" "DATA_VOLUME" "CONFIG_VOLUME" "CONFIG_PATH"
if ! autocreate volume=$DATA_VOLUME volume=$CONFIG_VOLUME; then
_die "Failed to autocreate volumes and paths"
fi
autocreate "volume=$DATA_VOLUME" "volume=$CONFIG_VOLUME" || _die "Failed to autocreate volumes $DATA_VOLUME and $CONFIG_VOLUME"
_check_docker_installed || _die "Docker test failed, aborting installation..."