This network is the network that is associated with the container on creation. If specified, then the bridge network is not attached to the service. Only a single initial network can be specified at this time.
15 lines
441 B
Bash
Executable File
15 lines
441 B
Bash
Executable File
#!/usr/bin/env bash
|
|
source "$PLUGIN_BASE_PATH/common/functions"
|
|
|
|
source "$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)/config"
|
|
source "$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)/functions"
|
|
set -eo pipefail
|
|
[[ $DOKKU_TRACE ]] && set -x
|
|
|
|
APP="$1"
|
|
for SERVICE in $(fn-services-list false); do
|
|
[[ -n "$SERVICE" ]] || continue
|
|
dokku_log_verbose_quiet "Unlinking from $SERVICE"
|
|
remove_from_links_file "$(basename "$SERVICE")" "$APP"
|
|
done
|