8000 Sharing MongoDB · wekan/wekan-snap Wiki · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Sharing MongoDB

Lauri Ojansivu edited this page Jul 1, 2017 · 1 revision

Share MongoDB to other snaps

  • connect mongodb-slot with plug from corresponding snap(s)
  • configure corresponding service to use mongodb unix socket in shared directory, socket file name is: mongodb-.sock

Sharing MongoDB from other snap to wekan

  • connect mongodb-plug with slot from snap providing mongodb
  • disable mongodb in wekan by calling:
$ snap set wekan set disable-mongodb='true'
  • set mongodb-bind-unix-socket to point to serving mongodb. Use relative path inside shared directory, e.g run/mongodb-27017.sock
Clone this wiki locally
0