mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-07-04 10:36:37 +00:00
Modify config-example
This commit is contained in:
parent
b31f8d5867
commit
d70deaf1ac
@ -17,12 +17,20 @@ class Config:
|
|||||||
DISPLAY_PER_PAGE = 20
|
DISPLAY_PER_PAGE = 20
|
||||||
ALLOWED_HOSTS = ['*']
|
ALLOWED_HOSTS = ['*']
|
||||||
DEBUG = False
|
DEBUG = False
|
||||||
|
LOG_LEVEL = 'DEBUG'
|
||||||
DATABASE_ENGINE = 'sqlite3'
|
DATABASE_ENGINE = 'sqlite3'
|
||||||
HTTP_LISTEN_HOST = '127.0.0.1'
|
HTTP_LISTEN_HOST = '127.0.0.1'
|
||||||
HTTP_LISTEN_PORT = 8000
|
HTTP_LISTEN_PORT = 8000
|
||||||
REDIS_HOST = '127.0.0.1'
|
REDIS_HOST = '127.0.0.1'
|
||||||
REDIS_PORT = 6379
|
REDIS_PORT = 6379
|
||||||
REDIS_PASSWORD = ''
|
REDIS_PASSWORD = ''
|
||||||
|
EMAIL_HOST = ''
|
||||||
|
EMAIL_PORT = 25
|
||||||
|
EMAIL_HOST_USER = ''
|
||||||
|
EMAIL_HOST_PASSWORD = ''
|
||||||
|
EMAIL_USE_SSL = False # If port is 465, set True
|
||||||
|
EMAIL_USE_TLS = False # If port is 587, set True
|
||||||
|
EMAIL_SUBJECT_PREFIX = '[Jumpserver] '
|
||||||
|
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
pass
|
pass
|
||||||
|
Loading…
Reference in New Issue
Block a user