-
Notifications
You must be signed in to change notification settings - Fork 12
/
.env.example
45 lines (40 loc) · 1.02 KB
/
.env.example
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
## Flask config
FLASK_APP=annotate_change.py
# production|development
FLASK_ENV=development
## App config
# database to use: mysql|sqlite3
DB_TYPE=mysql
# secret key for flask
SECRET_KEY=my-long-and-hard-to-guess-secret-key
# user email domains allowed (semicolon separated, empty means all)
USER_EMAIL_DOMAINS=
# specific user emails allowed (semicolon separated)
USER_EMAILS=
# whether you're accepting new user registrations
ACCEPTING_REGISTRATION=1
## Mail configuration
#
# Mail server config
MAIL_SERVER=smtp
MAIL_PORT=2525
MAIL_USE_TLS=1
MAIL_USERNAME=null
MAIL_PASSWORD=null
# Admin emails (semicolon separated)
## Database configuration
# MySQL
# - config for AnnotateChange
AC_MYSQL_HOST=db
AC_MYSQL_PORT=3306
AC_MYSQL_DATABASE=annotatechange
AC_MYSQL_USER=annotatechange
AC_MYSQL_PASSWORD=the-sql-password
# - config for MySQL docker image
MYSQL_RANDOM_ROOT_PASSWORD=yes
MYSQL_DATABASE=annotatechange
MYSQL_USER=annotatechange
MYSQL_PASSWORD=the-sql-password
# SQLite3
SQL3_FILENAME=app.db