mattermost / mattermost-docker

Deprecated
Apache License 2.0
964 stars 575 forks source link

MM_SQLSETTINGS_DATASOURCE is empty after start #496

Open rez0n opened 4 years ago

rez0n commented 4 years ago

Hi, something in mattermost is emptying the environment variable that was generated in entrypoint.sh (line 61) after the start. This is an issue because Mattermost CLI can't work if this variable is empty.

I added echo $MM_SQLSETTINGS_DATASOURCE into line 73 (before mattermost start) variable has the connection string, but right after start, this variable is unset.