aboutsummaryrefslogtreecommitdiff
path: root/stackbin.conf.example
blob: 6400ff1ab3d263949a984e0ca57e10075fc57dff (plain)
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
DEBUG=False
SQLALCHEMY_DATABASE_URI='sqlite:////var/stackbin/stackbin.db'
SQLALCHEMY_TRACK_MODIFICATIONS = False
SECRET_KEY='development-key'
SALT='jackson'
DELETESALT='differentstring'
APPNAME='stackbin'
# LOOP_DELAY in seconds is how many seconds between running the expiration cleanup task
LOOP_DELAY = 60 * 5

# Disable this variable entirely, to disable any choices for expiration
# Any very simple expression for relative time can be used here. This will be processed by pyparsedate.
EXPIRATION_OPTIONS = [
   "never",
   "1 day",
   "1 hour",
   "15 minutes"
]

TEMPLATE_FOLDER = "/usr/share/stackbin/templates"
STATIC_FOLDER = "/usr/share/stackbin/static"

# If you turn these off, the admin panel is entirely disabled.
ADMIN_USERNAME = 'admin'
ADMIN_PASSWORD = 'fluffycat10'

# Because the app generates the url entirely from scratch for a curl POST, the protocol can get lost, so you can force https if you define this variable.
CURL_RESPONSE_PROTOCOL = "https"

# If this is set, at the first request, the web app will visit this url to set its own prefix.
# This is designed so that you can use your own final URL for the /set endpoint in a config file,
# so the app will auto-configure itself.
SET_URL = "https://example.com/stackbin/set"
bgstack15