add docker setup

This commit is contained in:
2026-08-15 06:22:02 +01:00
parent 892f366a16
commit 310700407e
11 changed files with 410 additions and 19 deletions
+4 -4
View File
@@ -17,8 +17,8 @@ func TestGenerateAndLoadRoundTrip(t *testing.T) {
if _, err := os.Stat(path); err != nil {
t.Fatalf("settings.ini was not written: %v", err)
}
if got := cfg.Section("Server").Key("SMTP_PORT").String(); got != "4025" {
t.Errorf("SMTP_PORT = %q, want 4025", got)
if got := cfg.Section("Server").Key("SMTP_PORT").String(); got != "25" {
t.Errorf("SMTP_PORT = %q, want 25", got)
}
if got := cfg.Section("Attachments").Key("attachments_path").String(); got == "" {
t.Error("Attachments.attachments_path default is missing (the approved bug fix)")
@@ -29,8 +29,8 @@ func TestGenerateAndLoadRoundTrip(t *testing.T) {
if err != nil {
t.Fatalf("Load (existing): %v", err)
}
if got := cfg2.Section("Server").Key("SMTP_PORT").String(); got != "4025" {
t.Errorf("second Load: SMTP_PORT = %q, want 4025", got)
if got := cfg2.Section("Server").Key("SMTP_PORT").String(); got != "25" {
t.Errorf("second Load: SMTP_PORT = %q, want 25", got)
}
}