Update page 'Configuration'
parent
64659a5c5f
commit
5db5d9c2bd
1 changed files with 21 additions and 3 deletions
|
@ -4,6 +4,7 @@
|
|||
located at /srv/pandora/pandora/local_settings.py
|
||||
* your database connection, i.e.:
|
||||
|
||||
```
|
||||
DATABASES = {
|
||||
'default': {
|
||||
'NAME': 'pandora',
|
||||
|
@ -12,39 +13,56 @@ located at /srv/pandora/pandora/local_settings.py
|
|||
'PASSWORD': '',
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
* celery settings
|
||||
|
||||
```
|
||||
BROKER_PORT = 5672
|
||||
BROKER_USER = "pandora"
|
||||
BROKER_PASSWORD = ""
|
||||
BROKER_VHOST = "/pandora"
|
||||
|
||||
```
|
||||
|
||||
* location of site.jsonc
|
||||
|
||||
```
|
||||
SITE_CONFIG = '/srv/pandora/pandora/SITENAME.jsonc'
|
||||
```
|
||||
|
||||
* use an external data service, i.e.:
|
||||
|
||||
DATA_SERVICE = 'https://data.0xdb.org/api/'
|
||||
```
|
||||
DATA_SERVICE = 'https://data.0xdb.org/api/'
|
||||
```
|
||||
|
||||
* webserver integration:
|
||||
*
|
||||
* nginx:
|
||||
|
||||
```
|
||||
XACCELREDIRECT = True
|
||||
```
|
||||
|
||||
* apache:
|
||||
|
||||
```
|
||||
XSENDFILE = True
|
||||
```
|
||||
|
||||
* serve videos from other domain. to avoid some issues with browsers or for other reasons you might want to use another domain for your videos. several variables are expanded from the prefix: {uid}, {uid42}, {id}, {part}
|
||||
|
||||
```
|
||||
VIDEO_PREFIX = "//video{uid}.pad.ma"
|
||||
SESSION_COOKIE_DOMAIN = ".pad.ma"
|
||||
```
|
||||
|
||||
* enable debug output in http responds, otherwise a traceback will be available in Debug->View Logs... for admins
|
||||
|
||||
```
|
||||
DEBUG=False
|
||||
```
|
||||
|
||||
## config.jsonc
|
||||
|
||||
|
|
Loading…
Reference in a new issue