fix internal.xirion.net kubernetes resource naming

This commit is contained in:
Vivian 2023-01-26 14:27:19 +01:00
parent fcf9b009dc
commit 4c0c5a88cf
4 changed files with 42 additions and 20 deletions

View file

@ -54,6 +54,27 @@ in
];
settings =
let log_file = pkgs.writeText "log.yml" ''
version: 1
formatters:
structured:
class: synapse.logging.TerseJsonFormatter
handlers:
file:
class: logging.handlers.TimedRotatingFileHandler
formatter: structured
filename: /var/lib/matrix-synapse/synapse.log
when: midnight
backupCount: 3 # Does not include the current log file.
encoding: utf8
loggers:
synapse:
level: INFO
handlers: [file]
''; in
{
server_name = "meowy.tech";
enable_registration = true;
@ -64,6 +85,7 @@ in
media_retention = {
remote_media_lifetime = "90d";
};
log_config = "${log_file}";
listeners = [
{
inherit port;