feat: added mirrors for go and for golang image and change the name gate to proxy
This commit is contained in:
@@ -15,11 +15,11 @@ type Config struct {
|
||||
|
||||
func loadConfig() Config {
|
||||
return Config{
|
||||
Port: getEnv("AUTH_GATE_PORT", "8080"),
|
||||
APIToken: getEnv("AUTH_GATE_API_TOKEN", ""),
|
||||
Port: getEnv("AUTH_PROXY_PORT", "8080"),
|
||||
APIToken: getEnv("AUTH_PROXY_API_TOKEN", ""),
|
||||
DataDir: getEnv("DATA_DIR", "/data"),
|
||||
CleanupInterval: parseDuration("CLEANUP_INTERVAL", 60*time.Second),
|
||||
DBPath: getEnv("AUTH_GATE_DB_PATH", "./data/auth-gate.db"),
|
||||
DBPath: getEnv("AUTH_PROXY_DB_PATH", "./data/auth-proxy.db"),
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user