add redis extra config
This commit is contained in:
parent
1202604cbc
commit
2e376a8c18
1 changed files with 10 additions and 1 deletions
|
@ -22,8 +22,11 @@ in
|
|||
extraConfig = {
|
||||
WEB_DOMAIN = "mastodon.darkkirb.de";
|
||||
REDIS_NAMESPACE = "mastodon";
|
||||
SINGLE_USER_MODE = true;
|
||||
SINGLE_USER_MODE = "true";
|
||||
REDIS_HOST = "127.0.0.1";
|
||||
REDIS_PORT = toString config.services.redis.mastodon.port;
|
||||
};
|
||||
redis.createLocally = false;
|
||||
otpSecretFile = config.sops.secrets."services/mastodon/otpSecret".path;
|
||||
secretKeyBaseFile = config.sops.secrets."services/mastodon/secretKeyBase".path;
|
||||
smtp = {
|
||||
|
@ -61,4 +64,10 @@ in
|
|||
proxyWebsockets = true;
|
||||
};
|
||||
};
|
||||
services.redis.servers.mastodon = {
|
||||
enable = true;
|
||||
bind = "127.0.0.1";
|
||||
databases = 1;
|
||||
port = 6379;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue