Switch to modernc.org/sqlite and update dockerfile

This commit is contained in:
2026-05-06 19:00:28 +02:00
parent b28b9b127b
commit e5fd59f3ed
16 changed files with 162 additions and 127 deletions
+14 -10
View File
@@ -5,11 +5,12 @@ import (
)
type EnvConfig struct {
Port string
ConfigDir string
GithubPat string
StoragePath string
DashboardHost string
Port string
ConfigDir string
GithubPat string
StoragePath string
DashboardHost string
StaticDashboardPath string
}
func Load() EnvConfig {
@@ -38,11 +39,14 @@ func Load() EnvConfig {
dashboardHost = "localhost"
}
staticDashboardPath := os.Getenv("STATIC_DASHBOARD_PATH")
return EnvConfig{
Port: port,
ConfigDir: configDir,
GithubPat: githubPat,
StoragePath: storagePath,
DashboardHost: dashboardHost,
Port: port,
ConfigDir: configDir,
GithubPat: githubPat,
StoragePath: storagePath,
DashboardHost: dashboardHost,
StaticDashboardPath: staticDashboardPath,
}
}