containerized; first fixes; html templates added

This commit is contained in:
$(pass /github/name)
2024-07-03 21:27:50 +02:00
parent 96f008d67e
commit 905a0ac6dc
13 changed files with 342 additions and 14 deletions

View File

@@ -27,10 +27,14 @@ type SMTPConfig struct {
Port int `json:"Port"`
}
type TemplateConfig struct {
MailDir string `json:"MailDir"`
}
type Config struct {
DB DatabaseConfig `json:"db"`
Auth AuthenticationConfig
SMTP SMTPConfig `json:"smtp"`
DB DatabaseConfig `json:"db"`
Auth AuthenticationConfig
SMTP SMTPConfig `json:"smtp"`
Templates TemplateConfig `json:"templates"`
}
var (