-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathenv.dev.example
More file actions
50 lines (41 loc) · 1.38 KB
/
env.dev.example
File metadata and controls
50 lines (41 loc) · 1.38 KB
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
# Change this to the actual location of your site
protocol=http
domain=localhost:5000
port=5000
# Change this value to something random and secret
secret_key=wololol
support='wheretogetsupport'
#If the secure cookie flag should be set in the app
#set to True for https sites, otherwise set to False
securecookie=False
#Set to false to disable users registering their own accounts
#useful for private sites you don't want to give accounts out for
registration=False
# allow login via request header Remote-User
headerlogin=True
# To send emails, fill out these details
smtphost=
smtpport=
smtpuser=
smtppassword=
smtpfrom=noreply@example.com
# Exceptions are emailed here
errorto=
errorfrom=
# Where to store uploads (absolute path)
storage=/devel/sr.ht/data/
# Site ownership information for support and such
owner=thatsyou
owner_email=admin@cool_address
# A folder containing sql scripts that the database migration task should calculate
migrations=/migrations
# SQL connection string, do not use this one for production seriously
DATABASE_URL=postgresql://hello_flask:hello_flask@localhost:11211/hello_flask_dev
# How many records to show per page on admin and user uploads page
perpage=100
# Redis connection info
socket="/home/user/.tmp/redis.sock"
database=0
# This is NOT enforced - it's just for the UI
# You need to set client_max_body_size 50M; or similar in your nginx.conf
maxupload=50 MB