Compare commits
5 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
734317f3b4 | ||
|
|
e45e0b4d74 | ||
|
|
ba12aba367 | ||
|
|
157f48e1db | ||
|
|
6ea58f6cc8 |
@@ -1 +1 @@
|
||||
FROM mongo:5.0.3
|
||||
FROM mongo:5.0.4
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# dokku mongo [](https://github.com/dokku/dokku-mongo/actions/workflows/ci.yml?query=branch%3Amaster) [](https://webchat.libera.chat/?channels=dokku)
|
||||
|
||||
Official mongo plugin for dokku. Currently defaults to installing [mongo 5.0.3](https://hub.docker.com/_/mongo/).
|
||||
Official mongo plugin for dokku. Currently defaults to installing [mongo 5.0.4](https://hub.docker.com/_/mongo/).
|
||||
|
||||
## Requirements
|
||||
|
||||
|
||||
@@ -533,7 +533,11 @@ service_link() {
|
||||
fi
|
||||
[[ -n "$SERVICE_QUERYSTRING" ]] && SERVICE_URL="${SERVICE_URL}?${SERVICE_QUERYSTRING}"
|
||||
plugn trigger service-action post-link "$SERVICE" "$APP"
|
||||
config_set "$APP" "${ALIAS}_URL=$SERVICE_URL"
|
||||
if [[ "$DOKKU_GLOBAL_FLAGS" == *"--no-restart"* ]]; then
|
||||
config_set --no-restart "$APP" "${ALIAS}_URL=$SERVICE_URL"
|
||||
else
|
||||
config_set "$APP" "${ALIAS}_URL=$SERVICE_URL"
|
||||
fi
|
||||
plugn trigger service-action post-link-complete "$SERVICE" "$APP"
|
||||
}
|
||||
|
||||
@@ -857,7 +861,11 @@ service_unlink() {
|
||||
|
||||
[[ -z ${LINK[*]} ]] && dokku_log_fail "Not linked to app $APP"
|
||||
plugn trigger service-action post-unlink "$SERVICE" "$APP"
|
||||
config_unset "$APP" "${LINK[@]}"
|
||||
if [[ "$DOKKU_GLOBAL_FLAGS" == *"--no-restart"* ]]; then
|
||||
config_unset --no-restart "$APP" "${LINK[@]}"
|
||||
else
|
||||
config_unset "$APP" "${LINK[@]}"
|
||||
fi
|
||||
plugn trigger service-action post-unlink-complete "$SERVICE" "$APP"
|
||||
}
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
[plugin]
|
||||
description = "dokku mongo service plugin"
|
||||
version = "1.16.0"
|
||||
version = "1.17.0"
|
||||
[plugin.config]
|
||||
|
||||
Reference in New Issue
Block a user