Switch to modernc.org/sqlite and update dockerfile
This commit is contained in:
@@ -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,
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user