WIP service

This commit is contained in:
andrusyakka
2023-07-14 18:39:50 +03:00
parent 99becdea85
commit 6752536325
12 changed files with 183 additions and 74 deletions

View File

@@ -22,10 +22,10 @@ func New() *Config {
return &Config{
Server: ServerConfig{
Port: getEnv("PORT", "8080"),
ConnectionString: getEnv("CONNECTION_STRING", "test.db"),
ConnectionString: getEnv("CONNECTION_STRING", "host=localhost user=astra_events password=password dbname=astra_events_db port=5432 sslmode=disable TimeZone=Europe/Moscow"),
},
MSHosts: MSHosts{
UsersHost: getEnv("ASTRA-USERS", "http://localhost:8082"),
UsersHost: getEnv("ASTRA-USERS", "http://localhost:8081"),
},
}
}