"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const config_1 = require("@nestjs/config");
exports.default = (0, config_1.registerAs)('redis', () => {
    console.log('--- Config Factory: redis is executing ---');
    return {
        host: process.env.REDIS_HOST || '127.0.0.1',
        port: parseInt(process.env.REDIS_PORT || '6379', 10),
        password: process.env.REDIS_PASSWORD || 'YFRedis1018',
        db: parseInt(process.env.REDIS_DB || '1', 10),
    };
});
//# sourceMappingURL=redis.config.js.map