A free, open, self-hosted app platform (GNU AGPLv3): one-click app deploys, Traefik reverse proxy with automatic SSL, rootless Docker support, gluetun VPN routing, and a web dashboard to manage it all. Free & open forever to self-host; optional paid hosted services fund it. See PROMISE.md. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com> Signed-off-by: librelad <librelad@digitalangels.vip>
28 lines
917 B
Bash
Executable File
28 lines
917 B
Bash
Executable File
#!/bin/bash
|
|
|
|
setupBasicScanVariables()
|
|
{
|
|
app_name="$1"
|
|
|
|
if [[ "$app_name" == "" ]]; then
|
|
isError "Something went wrong...No app name provided..."
|
|
if [[ "$initial_command2" == "terminal" ]]; then
|
|
resetToMenu;
|
|
fi
|
|
fi
|
|
|
|
# Get compose setup configuration
|
|
compose_setup_var="CFG_${app_name^^}_COMPOSE_FILE"
|
|
compose_setup="${!compose_setup_var}"
|
|
|
|
# Determine the correct docker-compose.yml file path (same logic as dockerComposeSetupFile)
|
|
if [[ $compose_setup == "default" ]]; then
|
|
docker_compose_file="$containers_dir$app_name/docker-compose.yml";
|
|
elif [[ $compose_setup == "app" ]]; then
|
|
docker_compose_file="$containers_dir$app_name/docker-compose.$app_name.yml";
|
|
else
|
|
# Default to standard docker-compose.yml if compose_setup is not set
|
|
docker_compose_file="$containers_dir$app_name/docker-compose.yml";
|
|
fi
|
|
}
|