move mattermostgithub config to /etc/nixos/secret
This commit is contained in:
parent
c0601e0f65
commit
be406bd0c7
|
@ -1,25 +0,0 @@
|
|||
USERNAME = "Github"
|
||||
ICON_URL = ""
|
||||
|
||||
# Repository settings
|
||||
MATTERMOST_WEBHOOK_URLS = {
|
||||
'default' : ("chat.m-labs.hk/hooks/hookid", "town-square"),
|
||||
}
|
||||
|
||||
# Ignore specified event actions
|
||||
GITHUB_IGNORE_ACTIONS = {
|
||||
}
|
||||
|
||||
# Ignore events from specified users
|
||||
IGNORE_USERS = {
|
||||
}
|
||||
|
||||
# Redirect events to different channels
|
||||
REDIRECT_EVENTS = {
|
||||
}
|
||||
|
||||
SECRET = ""
|
||||
SHOW_AVATARS = True
|
||||
SERVER = {
|
||||
'hook': "/mattermost-github",
|
||||
}
|
|
@ -7,7 +7,7 @@ in {
|
|||
pythonPackages = self: [ pkg ];
|
||||
module = "mattermostgithub:app";
|
||||
env = [
|
||||
"MGI_CONFIG_FILE=${./config.py}"
|
||||
"MGI_CONFIG_FILE=${./../secret/mattermost-github-integration.py}"
|
||||
];
|
||||
socket = "${config.services.uwsgi.runDir}/uwsgi.sock";
|
||||
# allow access from nginx
|
||||
|
|
Loading…
Reference in New Issue