feat(peertube): Update config
Add smtp configuration and other miscelleanous settings
This commit is contained in:
parent
4c5a9685db
commit
58a55c43e4
3 changed files with 43 additions and 1 deletions
|
@ -26,6 +26,22 @@ in {
|
||||||
prefix = "streaming-playlists";
|
prefix = "streaming-playlists";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
smtp = {
|
||||||
|
transport = "smtp";
|
||||||
|
hostname = "kurisu.lahfa.xyz";
|
||||||
|
port = 465;
|
||||||
|
username = "web-services@infra.dgnum.eu";
|
||||||
|
tls = true;
|
||||||
|
disable_starttls = true;
|
||||||
|
from_address = "videos@infra.dgnum.eu";
|
||||||
|
};
|
||||||
|
|
||||||
|
email.subject.prefix = "[videos.dgnum]";
|
||||||
|
|
||||||
|
webadmin.configuration.edition.allowed = false;
|
||||||
|
|
||||||
|
user.video_quota = "10GB";
|
||||||
};
|
};
|
||||||
|
|
||||||
localDomain = host;
|
localDomain = host;
|
||||||
|
@ -36,7 +52,7 @@ in {
|
||||||
redis.createLocally = true;
|
redis.createLocally = true;
|
||||||
database.createLocally = true;
|
database.createLocally = true;
|
||||||
|
|
||||||
# smtp.passwordFile = "";
|
smtp.passwordFile = config.age.secrets."peertube-smtp_password_file".path;
|
||||||
serviceEnvironmentFile =
|
serviceEnvironmentFile =
|
||||||
config.age.secrets."peertube-service_environment_file".path;
|
config.age.secrets."peertube-service_environment_file".path;
|
||||||
secrets.secretsFile = config.age.secrets."peertube-secrets_file".path;
|
secrets.secretsFile = config.age.secrets."peertube-secrets_file".path;
|
||||||
|
|
25
machines/storage01/secrets/peertube-smtp_password_file
Normal file
25
machines/storage01/secrets/peertube-smtp_password_file
Normal file
|
@ -0,0 +1,25 @@
|
||||||
|
age-encryption.org/v1
|
||||||
|
-> ssh-ed25519 rHotTw c/IJbIePUMbHxGalrFL5mH20Tc/zzMn6hISFi6X0dSU
|
||||||
|
YG3ythuAGuewdK/hIWJvDE+GuRfYMFvz4KzMAIEk8jE
|
||||||
|
-> ssh-ed25519 jIXfPA eSj6AZkrZZv4VNGkuVWuEqBMAYJGuOOWTCIWceWIRjw
|
||||||
|
sWICwGnEl4QSUlz4jtWXBpI7V2ozgqN++SusWumIj6s
|
||||||
|
-> ssh-ed25519 QlRB9Q 9GdfkKb20ODcHQMvMEQQzPRXbfuy7U7o3yb6SeMLoxo
|
||||||
|
pQI57vOU13FpnnnfQyLpA2cP4Dsc0Bes+9zJmFN8Ze4
|
||||||
|
-> ssh-ed25519 r+nK/Q OM9b/4vrC8YNzkRTJEfXEKximYOxq2i9Yfn7A4lZJEY
|
||||||
|
LCN2bM9Qizy4wwz2VPormD0Hn2hCtmAUU+bM56qeVcI
|
||||||
|
-> ssh-rsa krWCLQ
|
||||||
|
qTb4xfzND+rfsp0AjiuEmLe0zHEvnE7j8U59g6/9NBL8/Qlnz1n3Ym0HyqK3vESH
|
||||||
|
X9eN3pkmxuYG3lJkSR875DHejCmtVqJRm6u8qx4Xi+JD/E++p0Fq0U0qtBFfJJ/I
|
||||||
|
zWrS5aR5GYqX2voXZ/W9YWhMHFwD8Ca/OuPYU51MSz0AuvR3l65FURGAW4kQ6SiP
|
||||||
|
Mgtk3nzG3G0lhSkQXYTeNqDM7AxATnl5G8QuGVi+72gSPlEnatMKNOt2LFxX26vU
|
||||||
|
q9TTckoMvFtobTdXOVm5UeS1rxtGwN3vPBJ38wzLXNhFWqT66rgExozp2ex77WYF
|
||||||
|
t6FRk1y86rjf+Ef+EswBNQ
|
||||||
|
-> ssh-ed25519 /vwQcQ XE+SdZv9HDfz7iLUiLc7g52SH1xrORtT57FyyyZrYFk
|
||||||
|
KM4+uPcau5J3akDRn+bqcXtZcpQ0EHrhe6s4qS8pUhU
|
||||||
|
-> ssh-ed25519 0R97PA mG9RQGh7FECTvsdwIBOm1HxHAm2DJ4IadlROdpeichw
|
||||||
|
xDl++nTk19STjG2PC+SYqEP3pwXFOnTlvRG88zIjTKs
|
||||||
|
-> K-grease [
|
||||||
|
JfC/6Q
|
||||||
|
--- BxfHgcTrNjNNNsGfmXERXN/o5/FhzreEJv1RKtIcsWg
|
||||||
|
ÕGó*“ò¤
|
||||||
|
Ïõ¹¦àa´<61>Ÿ¯'+I$¿åߦëOZÃè¹ôû.¼3RU^œ7`¾¼ ;„~ÙLÑn]têKe6NË
|
|
@ -9,4 +9,5 @@ lib.setDefault { inherit publicKeys; } [
|
||||||
"lychee-environment_file"
|
"lychee-environment_file"
|
||||||
"peertube-secrets_file"
|
"peertube-secrets_file"
|
||||||
"peertube-service_environment_file"
|
"peertube-service_environment_file"
|
||||||
|
"peertube-smtp_password_file"
|
||||||
]
|
]
|
||||||
|
|
Loading…
Reference in a new issue