-
Notifications
You must be signed in to change notification settings - Fork 0
/
settings.toml
80 lines (52 loc) · 2.27 KB
/
settings.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
[default]
THREADS_PER_PAGE = 2
CSRF_ENABLED = "True"
WTF_CSRF_CHECK_DEFAULT = "True"
SQLALCHEMY_TRACK_MODIFICATIONS = "True"
WEBPACKEXT_MANIFEST_PATH = "manifest.json"
SECURITY_TRACKABLE = "True"
SECURITY_REGISTERABLE = "False"
SECURITY_PASSWORD_HASH = "bcrypt"
SECURITY_POST_LOGIN_VIEW = "/dashboard"
SECURITY_UNAUTHORIZED_VIEW = "/login"
SECURITY_LOGIN_USER_TEMPLATE = "security/login.jinja"
# Template Files
SUPERVISOR_PROGRAM_TEMPLATE_PATH = "./conf_templates/subprogram_template.ini"
# the template used to launch uwsgi programs
UWSGI_TEMPLATE_PATH = "./conf_templates/uwsgi_template.ini"
NGINX_CONF_TEMPLATE_PATH = "./conf_templates/virtual_host_nginx.site.conf"
# the template used to configure the firejail profiles
FIREJAIL_PROFILE = "./conf_templates/default.profile"
# FLASK_ADMIN_SWATCH= 'flaty'
SUPERVISOR_USER_HOME = "{supervisor_path}/programs/{username}"
NGINX_PID_FILE = "/run/nginx.pid"
[production]
SQLALCHEMY_DATABASE_URI = "postgresql://hosting:BMtQDWcW7CoEFSNWe8PQiqotDT3@localhost/hosting"
SECRET_KEY = "YMNx&VZ<:85#=61_dUr\\x0b*)vL"
SECURITY_PASSWORD_SALT = "YMNx&VZ<:85#=61_dUr\\x0b*)vL"
SERVER_NAME = "54.36.248.241"
# the directory with is used to hold the supervisor created programs
SUPERVISOR_CONFIG_DIR = "/var/www/hosting/supervisor"
ABS_PATH_HOME_UWSGI = "/home/hosting" # should change on production
FTP_PORT = 2121
FTP_HOST = "ftp://54.36.248.241"
FTP_BASE_DIR = "/var/www/hosting/ftpfiles"
NGINX_SITE_CONF = "/var/www/hosting/nginx/sites-enabled"
NGINX_HUP_CHECK_FILE = "/var/www/hosting/.send_hup_to_nginx"
[developement]
SQLALCHEMY_DATABASE_URI = "sqlite:///./var/data.db"
#SQLALCHEMY_DATABASE_URI = "postgresql://aurel:shift@localhost/clientapp"
SERVER_NAME = "localhost:5000"
# supervisor main conf file and directory where to store programs
SUPERVISOR_CONFIG_DIR = "./supervisor"
FTP_PORT = 2121
FTP_HOST = "ftp://localhost"
FTP_BASE_DIR = "/media/aurel/main/projects/self/clientapp/tmp"
ABS_PATH_HOME_UWSGI = "/home/aurel" # should change on production
NGINX_SITE_CONF = "/var/www/nginx/sites-enabled"
NGINX_HUP_CHECK_FILE = "/tmp/.send_hup_to_nginx"
SECURITY_PASSWORD_SALT = "YMNx&VZ<:85#=61_dUr\\x0b*)vL"
DEBUG_TB_ENABLED="False"
DEBUG_TB_INTERCEPT_REDIRECTS = "False"
# Secret key for signing cookies
SECRET_KEY = "YMNx&VZ<:85#=61_dUr\\x0b*)vL"