···77COOLIFY_SOURCE_DIR="${COOLIFY_DIR}/source"
88SUDO=${SUDO:-"sudo"}
991010+1111+if [[ $DEBUG != "" ]]; then
1212+ set -x
1313+fi
1414+1015# The main entrypoint to docker-compose pointing to Coolify's compose + dotenv files,
1116# after handling those compose commands.
1217main() {
···3035 # From the Coolify docs for manual installation steps, we always want to use these
3136 # flags when bringing up.
3237 # Docs: https://coolify.io/docs/get-started/installation#_7-start-coolify
3333- main up -d --remove-orphans --pull=always --force-recreate "$@"
3838+ main "$@" -d --remove-orphans --pull=always --force-recreate
3439elif [[ $1 == "down" ]]; then
3540 # From the Coolify docs for uninstallation steps (the Compose way of tearing down
3641 # containers), we always want to use these flags when bringing down.
3742 # Docs: https://coolify.io/docs/get-started/uninstallation#_1-stop-and-remove-containers
3838- main down --timeout=0 "$@"
4343+ main "$@" --timeout=0
3944elif [[ $1 == "stop" ]]; then
4045 # From the Coolify docs for uninstallation steps (the `docker stop` one), we
4146 # always want to use these flags when stopping
4247 # Docs: https://coolify.io/docs/get-started/uninstallation#_1-stop-and-remove-containers
4343- main stop --timeout=0 "$@"
4848+ main "$@" --timeout=0
4449else
4550 main "$@"
4646-fi5151+fi