forked from WormBase/website-public
-
Notifications
You must be signed in to change notification settings - Fork 0
/
wormbase_staging.conf
132 lines (107 loc) · 3.2 KB
/
wormbase_staging.conf
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
######################################################
#
# WormBase Production Configuration
#
# Settings in this file over-ride the default
# wormbase.conf settings when the app is launched
# by starman-production.sh.
#
# See wormbase.conf for a description of directives.
#
######################################################
# Google Maps API
google_api_key = ABQIAAAAX6AZGEUlM28m4mzs0PsGkhRVfLFVmRFz44kSxZwC_XT2TLrxixTVyjZlGBxla25vFXfsh17xrvYj0g
# SSL
enable_ssl = 1
# REQUIRED FOR PRODUCTION: Base URL
base = http://staging.wormbase.org/
# Are we a (development|mirror|local|production) site?
# Used to determine whcih javascript to use.
installation_type = staging
# Enable login in staging
wormmine_path = "tools/wormmine"
######################################################
#
# Debugging
#
######################################################
debug = 0
debug_view = 0
fatal_non_compliance = 0
timer = 0
<stacktrace>
enable 1
</stacktrace>
<Plugin::ErrorCatcher>
enable 1
</Plugin::ErrorCatcher>
<Plugin::ErrorCatcher::Email>
from [email protected]
use_tags 1
# subject Error Report from: %h; %F, line %l
subject [WB] App error on %h in %F
</Plugin::ErrorCatcher::Email>
########################################################
#
# EMAILS
#
########################################################
# Issue tracking and reporting
issue_email = [email protected]
# Registering a new account
register_email = [email protected]
########################################################
#
# Cache
#
########################################################
<cache>
enabled 0
default couchdb
# For staging, we use the local couchdb. The cache
# database is then pushed out to production.
<couchdb>
enabled 0
# server 127.0.0.1:5984 # defaults
# server 206.108.125.164:5984 # default
server 10.0.1.202:5984 # defaults
</couchdb>
<memcached>
enabled 0 # not used in code right now
expires 4 weeks
server 206.108.125.168:11211
server 206.108.125.175:11211
server 206.108.125.177:11211
server 206.108.125.178:11211
server 206.108.125.190:11211
</memcached>
<filecache>
enabled 0
root __path_to(root)__/tmp/cache
</filecache>
</cache>
########################################################
#
# Database Locations and Authorization
#
# By default, we use remote data sources for
# convenience but expect this to be overriden
# by the wormbase_local.conf.
#
########################################################
<Model::Schema>
schema_class = WormBase::Schema
<connect_info>
# dsn = dbi:mysql:wormbase_user:hostname=206.108.125.165
# dsn = dbi:mysql:wormbase_user:hostname=23.21.171.141
# user = wormbase
# password =
dsn = dbi:mysql:wormbase_user:hostname=mysql.wormbase.org
user = wormbase
password = sea3l3ganz
</connect_info>
</Model::Schema>
#rest_server = "http://wormbase-rest-staging.us-east-1.elasticbeanstalk.com"
rest_server = "http://dev.wormbase.org:3000"
cached_rest_endpoints_expires_in = 0 # minutes, for staging