This repository was archived by the owner on Oct 18, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathconfig.yml
55 lines (49 loc) · 1.47 KB
/
config.yml
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
COMMON: &common
# Logging and Debug
DEBUG: False
TESTING: False
LOG_FILE: logs/ioos_catalog.txt
JSONIFY_PRETTYPRINT_REGULAR: False
# Host configuration, only used by the app.py not used by gunicorn or WSGI
# service
HOST: localhost
PORT: 3000
WEB_PASSWORD: password
SECRET_KEY: xxxxxxxx
# Mongo configuration
MONGODB_HOST: localhost
MONGODB_PORT: 27017
MONGODB_DATABASE: catalog-2015-04-30
# Redis configuration
REDIS_HOST: localhost
REDIS_PORT: 6379
REDIS_DB: 4
# Mail configurations
MAIL_SERVER: email-smtp.us-east-1.amazonaws.com
MAIL_PORT: 587
MAIL_USE_TLS: True
MAIL_USERNAME: amazon-ses-username
MAIL_PASSWORD: amazon-ses-password
MAIL_DEFAULT_SENDER: [email protected]
# If False, mails are sent to the 'contact' defined for the service, else
# mails are sent to MAIL_DEFAULT_TO
MAILER_DEBUG: True
MAIL_DEFAULT_TO: null
# Email to receive daily reports and to be CCd in status reports. Only used
# if MAILER_DEBUG is False.
MAIL_DEFAULT_LIST: null
# For services with no contact, use this. Also use this if MAILER_DEBUG is
# True
MAIL_COMMENTS_TO: null
# Captcha Settings
CAPTCHA_PREGEN_PATH: 'db/images'
SQLALCHEMY_DATABASE_URI: 'sqlite:///../db/captcha.db'
CKAN_CATALOG: https://data.ioos.us/
PRODUCTION: &production
<<: *common
MONGODB_DATABASE: monitoring_production
DEVELOPMENT: &development
<<: *common
MONGODB_DATABASE: catalog-2015-04-30
JSONIFY_PRETTYPRING_REGULAR: True
DEBUG: True