Commit graph

5 commits

Author SHA1 Message Date
schweby
64099dcf43 hainich/mattermost: disable external diagnostics 2021-03-24 22:25:56 +01:00
b494e676b0 Mattermost: Enable networking for the container.
Otherwise, the login via keycloak will fail, as mattermost cannot verify
the associated token. Since networking.nat only appears to work for ipv4
and I have no idea how to do it with ipv6, this unfortunately implies
downgrading the container's networking to ipv4 only ...
2021-03-24 22:25:56 +01:00
33d6296dbb mattermost: change url to mattermost-beta.infra4future.de
I propose we deploy this sometime and see how it goes (as soon as someone
sets up DNS for this).
2021-03-24 22:25:56 +01:00
2e1c865ebf Patch mattermost module to allow secrets outside the nix store
This adds a custom mattermost module (`services.mattermost-patched`) which is
identical to the one in nixpkgs except that it also has an option `secretConfig`,
which should point to a file containing all secret parts of the mattermost config
(e.g. mailserver password), and which is merged with the config genereated from
the module at startup time.

This allows us to have a (almost) immutable config without having secrets in the
nix store.

Before deploying this, add a secrets file at /var/lib/mattermost/screts.json
(on the host — there is a bind mount in place so we won't have to enter the
container each time to change something).
2021-03-24 22:25:55 +01:00
4f3980402d hanich: init mattermost-beta 2021-03-24 22:25:20 +01:00