Dockerized MongoDB on Heroku? -


i'm not sure if right stackexchange asking this, i'm in process of setting mean stack application , want right get-go.

i use docker , heroku (due new pipelining groups , ease of deployment sole developer), can't find guides on how run mongodb docker image on heroku.

is possible? don't understand how can put database binary image (docker image) anyways, yet every guide i've read says separate micro-services.

has else done this?

thanks.

edit: or better idea leave mongo undockerized , use mongolabs , have 2 separate instances dev/prod databases?

there official mongodb docker image can use. need make sure have docker installed on heroku.

if concerned data persistance can mount host directories container have physical access data. if worried accebility can expose ports inside comtainer host can connect it.

having database in container makes able worried on db configuration , not ehole stack . when goes down know look.


Comments

Popular posts from this blog

jOOQ update returning clause with Oracle -

java - Warning equals/hashCode on @Data annotation lombok with inheritance -

java - BasicPathUsageException: Cannot join to attribute of basic type -