mirror of
https://git.verdigado.com/NB-Public/simple-wkd.git
synced 2024-12-06 14:52:41 +01:00
Return to debian for docker
This commit is contained in:
parent
da472a23ff
commit
ca8bcfaa96
5 changed files with 17 additions and 11 deletions
3
backend/.gitignore
vendored
3
backend/.gitignore
vendored
|
@ -1,4 +1,3 @@
|
|||
/target
|
||||
/data
|
||||
/logs
|
||||
config.toml
|
||||
/logs
|
|
@ -1,16 +0,0 @@
|
|||
variant = "Advanced"
|
||||
max_age = 900
|
||||
cleanup_interval = 21600
|
||||
allowed_domains = ["example.org", "example.com"]
|
||||
port = 8080
|
||||
bind_host = "0.0.0.0"
|
||||
external_url = "http://localhost:8080"
|
||||
|
||||
[mail_settings]
|
||||
smtp_host = "mail.example.org"
|
||||
smtp_username = "keyservice"
|
||||
smtp_password = "verysecurepassword"
|
||||
smtp_port = 465
|
||||
smtp_tls = "Tls"
|
||||
mail_from = "key-submission@example.org"
|
||||
mail_subject = "Please confirm to %a your public key"
|
|
@ -85,6 +85,7 @@ fn get_mailer() -> SmtpTransport {
|
|||
.credentials(creds)
|
||||
.port(SETTINGS.mail_settings.smtp_port)
|
||||
.build();
|
||||
debug!("Checking connection...");
|
||||
if mailer.test_connection().is_err() {
|
||||
warn!("Connection test to smtp host failed!");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue