Closed BigWillie closed 4 years ago
According to the docs, I think that you need to specify it via env variables, I think that dokku will search it on docker hub :
# you can also specify the image and image
# version to use for the service
# it *must* be compatible with the
# official mongo image
export MONGO_IMAGE="mongo"
export MONGO_IMAGE_VERSION="3.0.5"
dokku mongo:create lolipop
You may also wish to look at the output of:
dokku mongo:help create
Which should show you options for installing with flags.
How do you do this in a CI file?
For example, in my GitLab CI file I have:
- ssh dokku@$DEPLOY_SRV config:set --global MONGO_IMAGE_VERSION="4.2.3"
But it doesn't work.
@jc-camosun did you check out the output of dokku mongo:help create
?
My apologies @josegonzalez. I somehow missed the flags. -I
does indeed work.
Glad that works :)
Installed this plugin last night. How do I update each database to mongo-db 4? Thanks