add org structure

This commit is contained in:
andrusyakka
2023-07-05 18:44:22 +03:00
parent ac08cceda0
commit 9234b577bb
8 changed files with 57 additions and 11 deletions

View File

@@ -22,11 +22,11 @@ type Config struct {
func New() *Config {
return &Config{
MSHosts: MSHostsConfig{
UsersHost: getEnv("ASTRA-USERS", ""),
StoreHost: getEnv("ASTRA-FILE-STORAGE", ""),
UsersHost: getEnv("ASTRA-USERS", "http://localhost:8082"),
StoreHost: getEnv("ASTRA-FILE-STORAGE", "http://localhost:8081"),
},
Server: ServerConfig{
Port: getEnv("PORT", ""),
Port: getEnv("PORT", "8080"),
JWTSecret: getEnv("JWT_SECRET", "secret"),
},
}