fix(compose): added missing files for compose
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
TASK_GRPC_PORT=50051
|
||||
TASK_HTTP_PORT=8082
|
||||
TASK_GRPC_ENABLE_REFLECTION=true
|
||||
|
||||
POSTGRES_HOST=postgres
|
||||
POSTGRES_PORT=5432
|
||||
POSTGRES_USERNAME=postgres
|
||||
POSTGRES_PASSWORD=postgres
|
||||
POSTGRES_DATABASE=postgres
|
||||
|
||||
LOG_LEVEL=info
|
||||
|
||||
AUTH_SVC_ADDR=auth:50051
|
||||
@@ -0,0 +1,13 @@
|
||||
USER_GRPC_PORT=50051
|
||||
USER_HTTP_PORT=8082
|
||||
USER_GRPC_ENABLE_REFLECTION=true
|
||||
|
||||
POSTGRES_HOST=postgres
|
||||
POSTGRES_PORT=5432
|
||||
POSTGRES_USERNAME=postgres
|
||||
POSTGRES_PASSWORD=postgres
|
||||
POSTGRES_DATABASE=postgres
|
||||
|
||||
LOG_LEVEL=info
|
||||
|
||||
AUTH_SVC_ADDR=auth:50051
|
||||
@@ -37,7 +37,6 @@ func Load() (*Config, error) {
|
||||
DBUser: getEnv("POSTGRES_USERNAME", "postgres"),
|
||||
DBPassword: getEnv("POSTGRES_PASSWORD", "postgres"),
|
||||
DBName: getEnv("POSTGRES_DATABASE", "postgres"),
|
||||
JWTSecret: getEnv("JWT_SECRET", "your-secret-key-change-in-production"),
|
||||
AuthSvcAddr: getEnv("AUTH_SVC_ADDR", "localhost:50051"),
|
||||
}, nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user