mattermost-docker icon indicating copy to clipboard operation
mattermost-docker copied to clipboard

So many volumes so little traefik

Open rbucker opened this issue 7 years ago • 1 comments

MM5.8.0

BACKGROUND I'm trying to install matermost on a docker swarm with traefik already installed for ingress. The whole swarm is installed on a single VMware system but could easily be multiple. In a single VMware install I tend to use a vsphere volume and in a multiple I'll use NFS or some sort of iSCSI...

PROBLEMS [1] the documentation says "mkdir -pv ./volumes/app/mattermost/{data,logs,config}" yes this is a hosted volume but will not work in a swarm. Similarly in the raw dockerfile there is a reference to 4 different exported volumes. It really is silly to have 4 separate volumes. Part of this is the way the code is deployed in the app folder.

[2] the swarm/traefik example expresses an all-in-one deploy that does not work.

rbucker avatar Mar 01 '19 12:03 rbucker

@rbucker I run Mattermost in a Docker Swarm with Traefik and gitlab and for the most part it works. Having some issues with webhooks between gitlab and mattermost due to issues with certificates but the main chat application itself works fine.

Not sure how you are hosting but I was able to setup the 4 volumes in our nfs share without issue that works in the swarm.

rgrubin75 avatar Apr 11 '19 17:04 rgrubin75