add database parameter

This commit is contained in:
Denis Lehmann 2022-06-12 12:26:06 +02:00
parent 281eca0bb0
commit f1992596bc

View file

@ -64,7 +64,7 @@
enable = true; enable = true;
basePath = "/var/lib/raincloud"; basePath = "/var/lib/raincloud";
secretKeyPath = "/var/lib/raincloud/secret_key"; secretKeyPath = "/var/lib/raincloud/secret_key";
redisUrl = "unix:/run/redis-raincloud/redis.sock"; redisUrl = "unix:/run/redis-raincloud/redis.sock?db=0";
}; };
} }
#+end_src #+end_src
@ -80,7 +80,7 @@
| =cloudName= | Name of the raincloud | =str= | =raincloud= | =bobsCloud= | | =cloudName= | Name of the raincloud | =str= | =raincloud= | =bobsCloud= |
| =basePath= | Base path of the raincloud | =str= | | =/var/lib/raincloud= | | =basePath= | Base path of the raincloud | =str= | | =/var/lib/raincloud= |
| =secretKeyPath= | Path to file containing Flask secret key | =str= | | =/var/lib/raincloud/secret_key= | | =secretKeyPath= | Path to file containing Flask secret key | =str= | | =/var/lib/raincloud/secret_key= |
| =redisUrl= | URL of Redis database | =str= | =redis://127.0.0.1:6379/0= | =unix:/run/redis-raincloud/redis.sock= | | =redisUrl= | URL of Redis database | =str= | =redis://127.0.0.1:6379/0= | =unix:/run/redis-raincloud/redis.sock?db=0= |
| =numWorkers= | Number of Gunicorn workers (recommendation is: 2 x #CPUs + 1) | =int= | =5= | =17= | | =numWorkers= | Number of Gunicorn workers (recommendation is: 2 x #CPUs + 1) | =int= | =5= | =17= |
| =workerTimeout= | Gunicorn worker timeout | =int= | =300= | =360= | | =workerTimeout= | Gunicorn worker timeout | =int= | =300= | =360= |