mirror of
https://github.com/dokku/dokku.git
synced 2025-12-16 12:07:45 +01:00
This is useful when there is a service not managed by Dokku but should be exposed via the Dokku routing layer. As an example, some binaries (consul, nomad, vault) expose web uis, and are traditionally run on the host directly vs in a container. Closes #4665
18 lines
372 B
Bash
Executable File
18 lines
372 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -eo pipefail
|
|
[[ $DOKKU_TRACE ]] && set -x
|
|
|
|
trigger-scheduler-null-scheduler-is-deployed() {
|
|
declare desc="checks if an app is deployed"
|
|
declare trigger="scheduler-is-deployed"
|
|
declare DOKKU_SCHEDULER="$1" APP="$2"
|
|
|
|
if [[ "$DOKKU_SCHEDULER" != "null" ]]; then
|
|
return
|
|
fi
|
|
|
|
return 0
|
|
}
|
|
|
|
trigger-scheduler-null-scheduler-is-deployed "$@"
|