Closed cduverne closed 7 years ago
I succeeded in having it working by changing the sqlsettings
of the config.json file.
But what I don't understand is how the config is loaded into mattermost, because the config.json
file used by platform
is the one in /opt/mattermost/config/config.json
and it doesn't contains the right connection string.
Is there another config file in the container ?
If you are starting the container directly into bash, rather than exec
into a running container then you will need to create the config from a the template. See https://github.com/jasl8r/docker-mattermost/blob/master/entrypoint.sh#L8 for where this is handled for the main entrypoint.
Basically after your docker run ... bash
you'll want to:
> initialize
> configure
> # do work
We could add an app:bash
command perhaps that automates this and drops you into a bash shell.
Thanks a lot ! It works too !
Hello @jasl8r,
Thanks a lot for version 3.4 ! I was wondering how we could delete teams within the docker containers, it looks like the sql connection toward an external postgresql container isn't working.
How could we do ? Thanks in advance. Cyrille