New Filestructure for Docker
This commit is contained in:
+3
-3
@@ -9,10 +9,10 @@ const envPath = path.resolve(__dirname, '..', 'config', '.env.redis');
|
||||
dotenv.config({ path: envPath });
|
||||
|
||||
const redisClient = createClient({
|
||||
password: process.env.REDDIS_PASSWORD,
|
||||
password: process.env.REDIS_PASSWORD,
|
||||
socket: {
|
||||
host: process.env.REDDIS_HOST,
|
||||
port: process.env.REDDIS_PORT
|
||||
host: process.env.REDIS_HOST || 'redis',
|
||||
port: process.env.REDIS_PORT || 6379
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user