import { registerAs } from '@nestjs/config';

export default registerAs('external', () => ({
  walletServiceUrl:
    process.env.WALLET_SERVICE_URL || 'http://localhost:3001',
  identityServiceUrl:
    process.env.IDENTITY_SERVICE_URL || 'http://localhost:3000',
  plantingServiceUrl:
    process.env.PLANTING_SERVICE_URL || 'http://localhost:3003',
  referralServiceUrl:
    process.env.REFERRAL_SERVICE_URL || 'http://localhost:3004',
  contributionServiceUrl:
    process.env.CONTRIBUTION_SERVICE_URL || 'http://localhost:3020',
}));
