export const VLAN_ID = process.env.VLAN_ID || '2';
export const MAX_UP = process.env.MAX_UP || '10000000';
export const MAX_DOWN = process.env.MAX_DOWN || '10000000';
export const MAX_REQUESTS = parseInt(process.env.MAX_REQUESTS || '200', 10);
export const RADIUS_HOST = process.env.RADIUS_HOST || 'freeradius';
export const RADIUS_AUTH_PORT = parseInt(process.env.RADIUS_AUTH_PORT || '1812', 10);
export const RADIUS_SECRET = process.env.RADIUS_SECRET || process.env.RADIUS_SHARED_SECRET || 'tamosbien';

export const PGHOST = process.env.PGHOST || 'postgres';
export const PGPORT = parseInt(process.env.PGPORT || '5432', 10);
export const PGDATABASE = process.env.PGDATABASE || 'radius';
export const PGUSER = process.env.PGUSER || 'radius';
export const PGPASSWORD = process.env.PGPASSWORD || 'radius';
export const SESSION_TIMEOUT = parseInt(process.env.SESSION_TIMEOUT || process.env.SESSION_TIMEOUT_SECONDS || '0', 10) || 0;

