mattermost-community / focalboard

Focalboard is an open source, self-hosted alternative to Trello, Notion, and Asana.
https://www.focalboard.com
Other
21.63k stars 1.93k forks source link

Are environment variables possible as an alternative to a stateful config.json file? #3069

Open Leopere opened 2 years ago

Leopere commented 2 years ago

https://github.com/mattermost/focalboard/blob/9dbb0c88e1621a0801fe249f87cac20238be8805/docker/docker-compose-db-nginx.yml#L18

chenilim commented 2 years ago

@jespino, are automatic env variables implemented in config.go, based on AutomaticEnv()? If so, we may just need to document them better.

jespino commented 2 years ago

Exactly, but it only affects the config for personal server and desktop apps, not for plugin mode. In plugin mode all the config comes from Mattermost itself.

Leopere commented 1 year ago

Is this something that can be updated? I really like the idea of using Focalboard. I ended up getting a copy deployed in our stack successfully but statelessness in a container is really nice.