Add mastodon active record encryption secrets
This commit is contained in:
parent
b9852f3bfd
commit
755d92bb96
|
@ -46,6 +46,9 @@ in
|
||||||
fromAddress = "Nekoverse <nyareply@nekover.se>";
|
fromAddress = "Nekoverse <nyareply@nekover.se>";
|
||||||
};
|
};
|
||||||
streamingProcesses = 3;
|
streamingProcesses = 3;
|
||||||
|
activeRecordEncryptionPrimaryKeyFile = "/secrets/mastodon-active-record-encryption-primary-key.secret";
|
||||||
|
activeRecordEncryptionKeyDerivationSaltFile = "/secrets/mastodon-active-record-encryption-key-derivation-salt.secret";
|
||||||
|
activeRecordEncryptionDeterministicKeyFile = "/secrets/mastodon-active-record-encryption-deterministic-key.secret";
|
||||||
extraConfig = {
|
extraConfig = {
|
||||||
SMTP_TLS = "true";
|
SMTP_TLS = "true";
|
||||||
ES_PRESET = "single_node_cluster";
|
ES_PRESET = "single_node_cluster";
|
||||||
|
|
|
@ -41,5 +41,29 @@
|
||||||
permissions = "0640";
|
permissions = "0640";
|
||||||
uploadAt = "pre-activation";
|
uploadAt = "pre-activation";
|
||||||
};
|
};
|
||||||
|
"mastodon-active-record-encryption-primary-key.secret" = {
|
||||||
|
keyCommand = keyCommandEnv ++ [ "pass" "mastodon/active-record-encryption-primary-key" ];
|
||||||
|
destDir = "/secrets";
|
||||||
|
user = "mastodon";
|
||||||
|
group = "mastodon";
|
||||||
|
permissions = "0640";
|
||||||
|
uploadAt = "pre-activation";
|
||||||
|
};
|
||||||
|
"mastodon-active-record-encryption-key-derivation-salt.secret" = {
|
||||||
|
keyCommand = keyCommandEnv ++ [ "pass" "mastodon/active-record-encryption-key-derivation-salt" ];
|
||||||
|
destDir = "/secrets";
|
||||||
|
user = "mastodon";
|
||||||
|
group = "mastodon";
|
||||||
|
permissions = "0640";
|
||||||
|
uploadAt = "pre-activation";
|
||||||
|
};
|
||||||
|
"mastodon-active-record-encryption-deterministic-key.secret" = {
|
||||||
|
keyCommand = keyCommandEnv ++ [ "pass" "mastodon/active-record-encryption-deterministic-key" ];
|
||||||
|
destDir = "/secrets";
|
||||||
|
user = "mastodon";
|
||||||
|
group = "mastodon";
|
||||||
|
permissions = "0640";
|
||||||
|
uploadAt = "pre-activation";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue