Added REDIS_URL to .env.example and use this in queuManager, removed & commented debug code

This commit is contained in:
2024-09-21 22:00:08 +02:00
parent fd8cefd0db
commit 66cbdec5b6
7 changed files with 21 additions and 35 deletions

View File

@ -4,6 +4,7 @@ dotenv.config()
class config {
static ENV: string = process.env.ENV || 'prod'
static REDIS_URL: string = process.env.REDIS_URL || 'redis://@127.0.0.1:6379/4'
static HOST: string = process.env.HOST || '0.0.0.0'
static PORT: number = process.env.PORT ? parseInt(process.env.PORT) : 6969
static JWT_SECRET: string = process.env.JWT_SECRET || 'secret'