mirror of
https://gitlab.com/mobicoop/v3/service/matcher.git
synced 2026-01-10 22:22:41 +00:00
Remove most of the geography module and delegate it to external gRPC microservice
This commit is contained in:
8
src/config/producer-services.config.ts
Normal file
8
src/config/producer-services.config.ts
Normal file
@@ -0,0 +1,8 @@
|
||||
import { registerAs } from '@nestjs/config';
|
||||
|
||||
export default registerAs('producerServices', () => ({
|
||||
geographyUrl: process.env.GEOGRAPHY_SERVICE_URL ?? 'v3-geocoder-api',
|
||||
geographyPort: process.env.GEOGRAPHY_SERVICE_PORT
|
||||
? parseInt(process.env.GEOGRAPHY_SERVICE_PORT, 10)
|
||||
: 5007,
|
||||
}));
|
||||
Reference in New Issue
Block a user