-
Notifications
You must be signed in to change notification settings - Fork 2
/
settings.py.docker
42 lines (28 loc) · 1.11 KB
/
settings.py.docker
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
import os
# Change `user` and `password` into your Postgres user and password
SQLALCHEMY_DATABASE_URI = (
'postgresql://'+ os.environ.get('DB_USER', '') +
':' + os.environ.get('DB_PASSWORD', '') +
'@' + os.environ.get('DB_HOST', '') +
'/' + os.environ.get('DB_NAME', '')
)
#SQLALCHEMY_BINDS = {
# 'factsheet': 'postgresql://user:password@localhost/art17old'
#}
# This is mandatory. Please define a secret key - random sequence of characters
SECRET_KEY = 'secret'
# Fields below are optional. Update and uncomment the ones you need.
# ASSETS_DEBUG = False
# AUTH_DEBUG = False
# AUTH_LOG_FILE = '/var/local/art17/logs/flask-auth.log'
# EEA_LDAP_SERVER = ''
# Set this for correct links in emails.
# SERVER_NAME = 'example.com'
# SECURITY_EMAIL_SENDER = DEFAULT_MAIL_SENDER = 'noreply@' + SERVER_NAME
# SECURITY_POST_REGISTER_VIEW = '/article17/'
# SENTRY_DSN = ''
# Destination for PDF reports in the Factsheet module
# PDF_DESTINATION = './instance/pdf'
# PDF_URL_PREFIX = 'http://localhost:5000'
# FACTSHEETS_REMOTE_URL = ""
# EU_ASSESSMENT_MODE = getenv('EU_ASSESSMENT_MODE', type=bool, default=False)