diff --git a/README.md b/README.md index 75e87c4..28b6479 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # dokku mongo [![Build Status](https://img.shields.io/travis/dokku/dokku-mongo.svg?branch=master "Build Status")](https://travis-ci.org/dokku/dokku-mongo) [![IRC Network](https://img.shields.io/badge/irc-freenode-blue.svg "IRC Freenode")](https://webchat.freenode.net/?channels=dokku) -Official mongo plugin for dokku. Currently defaults to installing [mongo 3.4.20](https://hub.docker.com/_/mongo/). +Official mongo plugin for dokku. Currently defaults to installing [mongo 3.6.13](https://hub.docker.com/_/mongo/). ## requirements diff --git a/config b/config index 1233c78..ee54a1e 100644 --- a/config +++ b/config @@ -1,6 +1,6 @@ #!/usr/bin/env bash export MONGO_IMAGE=${MONGO_IMAGE:="mongo"} -export MONGO_IMAGE_VERSION=${MONGO_IMAGE_VERSION:="3.4.20"} +export MONGO_IMAGE_VERSION=${MONGO_IMAGE_VERSION:="3.6.13"} export MONGO_ROOT=${MONGO_ROOT:="$DOKKU_LIB_ROOT/services/mongo"} export MONGO_HOST_ROOT=${MONGO_HOST_ROOT:=$MONGO_ROOT} diff --git a/tests/service_list.bats b/tests/service_list.bats index 900fbd4..eaae47e 100755 --- a/tests/service_list.bats +++ b/tests/service_list.bats @@ -11,20 +11,20 @@ teardown() { @test "($PLUGIN_COMMAND_PREFIX:list) with no exposed ports, no linked apps" { run dokku "$PLUGIN_COMMAND_PREFIX:list" - assert_contains "${lines[*]}" "l mongo:3.4.20 running - -" + assert_contains "${lines[*]}" "l mongo:3.6.13 running - -" } @test "($PLUGIN_COMMAND_PREFIX:list) with exposed ports" { dokku "$PLUGIN_COMMAND_PREFIX:expose" l 4242 4243 4244 4245 run dokku "$PLUGIN_COMMAND_PREFIX:list" - assert_contains "${lines[*]}" "l mongo:3.4.20 running 27017->4242 27018->4243 27019->4244 28017->4245 -" + assert_contains "${lines[*]}" "l mongo:3.6.13 running 27017->4242 27018->4243 27019->4244 28017->4245 -" } @test "($PLUGIN_COMMAND_PREFIX:list) with linked app" { dokku apps:create my_app dokku "$PLUGIN_COMMAND_PREFIX:link" l my_app run dokku "$PLUGIN_COMMAND_PREFIX:list" - assert_contains "${lines[*]}" "l mongo:3.4.20 running - my_app" + assert_contains "${lines[*]}" "l mongo:3.6.13 running - my_app" dokku --force apps:destroy my_app }