mirror of
https://github.com/Metastem/wikiless
synced 2024-12-06 19:16:58 +01:00
Fixed Redis
This commit is contained in:
+2
-2
@@ -2,7 +2,7 @@ const config = {
|
||||
/**
|
||||
* Set these configs below to suite your environment.
|
||||
*/
|
||||
domain: process.env.DOMAIN || 'wikiless.whateveritworks.org', // Set to your own domain
|
||||
domain: process.env.DOMAIN || '', // Set to your own domain
|
||||
default_lang: process.env.DEFAULT_LANG || 'en', // Set your own language by default
|
||||
theme: process.env.THEME || 'dark', // Set to 'white' or 'dark' by default
|
||||
http_addr: process.env.HTTP_ADDR || '0.0.0.0', // don't touch, unless you know what your doing
|
||||
@@ -15,7 +15,7 @@ const config = {
|
||||
* but they are not supported anymore.
|
||||
* process.env.REDIS_HOST is still here for backwards compatibility.
|
||||
*/
|
||||
redis_url: process.env.REDIS_URL || process.env.REDIS_HOST || 'redis://127.0.0.1:6379',
|
||||
redis_url: process.env.REDIS_URL || process.env.REDIS_HOST || 'wikiless_redis',
|
||||
redis_password: process.env.REDIS_PASSWORD,
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user