image-storage/config/devConfig.go

15 lines
371 B
Go
Raw Normal View History

2025-10-20 22:21:55 +03:00
package config
func DevConfig() *Config {
return &Config{
App: AppConfig{
Host: getEnv("HOST", "0.0.0.0"),
HttpPort: getEnv("HTTP_PORT", "9280"),
GrpcPort: getEnv("GRPC_PORT", "9200"),
2025-10-25 17:42:49 +03:00
Domain: formatDomain(getEnv("DOMAIN", "http://localhost:9280")),
Volume: getEnv("VOLUME", "/tmp/volume"),
2025-10-20 22:21:55 +03:00
LogLevel: getEnv("LOG_LEVEL", "Debug"),
},
}
}