· 8 years ago · Jul 14, 2017, 04:50 AM
1[ccp]
2port = 8081
3preview_proxy_port = 80
4
5[ccppbclient]
6maxdelay = 5
7nodeid = 1
8password = peaNeil5sh
9servercacert = /etc/ssl/certs/f2l-nexus.pem
10username = ccp
11
12
13[s3_media_sync]
14s3_bucket = mbp-befit-ecs-prod-data
15s3_key = befit_data/df_media/
16
17
18[clum]
19cluster_id = 1
20maxdelay = 5
21nodeid = 1
22servercacert = /etc/ssl/certs/f2l-nexus.pem
23password = Joamoh4Xa9
24port = 8792
25server = befit-internal.web.dev
26username = aucluster
27wangpassword = ceeng2Phi6
28# Does this deployment use the 'live' or 'staging' site configuration?
29siteflavour = live
30# Every X seconds, push any queued log entries back to the grug
31push_log_period = 10
32fetch_attempts = 10
33fetch_delay_between_attempts = 2
34
35
36[daemon]
37# # The directory to find the df code base in
38# # This is prepended to the PYTHONPATH by the init scripts prior to starting
39# # the application
40dfdir=/opt/df
41
42
43# # the directory to create *.log files in
44# # used by the initscripts as a param to twistd
45# # used by the wang to create a logfilename
46logdir=/var/log/df
47
48# the directory to create *.pid files in
49# # used by nodemanager when starting wangs
50# # used by the initscripts as a param to twistd
51piddir=/var/log/df
52
53# # the directory to use as the cwd
54# # used by the initscripts as a param to twistd
55rundir=/
56
57
58[df]
59# A colon-separated list of directories to look for plugins.
60# If a path does not start with a ~ or a /, it is
61# interpreted relative to the root of the DF project.
62plugindir=befit:dfplugins
63
64[grug]
65ccppassword = peaNeil5sh
66port = 8791
67server = befit-internal.web.dev
68
69#### Medibank dev account
70####
71### [mail]
72### send = true
73### senderdomain = digidev-aws.medibank.local
74### smtphost = mail.aws.medibank.local
75### smtpport = 25
76### support = support@digidev-aws.medibank.local
77### sysfrom = "Befit Application" <befit@digidev-aws.medibank.local>
78### newsletter_reporting_address = wellbeing.feedback@digidev-aws.medibank.local
79### username = befit-smtp-dev@aws.medibank.local
80### password = DNUkWP3yrg3zEP4STLESGzDuejeW9wtZ
81
82
83#### Mail hog
84####
85
86[mail]
87send = true
88senderdomain = digidev-aws.medibank.local
89smtphost = befit-internal.web.dev
90smtpport = 1025
91support = support@digidev-aws.medibank.local
92sysfrom = "Befit Application" <befit@digidev-aws.medibank.local>
93newsletter_reporting_address = wellbeing.feedback@digidev-aws.medibank.local
94username = dummy_user
95password = dummy_pass
96
97
98[media]
99mediadir=/var/local/df/data/media
100
101
102[nodemanager]
103#id = 1 # nxf - i think this isn't used by anything?
104maxdelay = 5
105port = 8792
106server = befit-internal.web.dev
107username = nodemanager
108password = ceeng2Phi6
109
110
111[nodes]
112baseport = 8000
113bindaddr = 0.0.0.0
114
115
116[distribute]
117content_filename = /var/local/df/data/content/data.blob
118content_urlprefix = https://befit-internal.web.dev/nexus/content/
119
120live_directory = /var/local/df/data/siteconfig/live/
121live_urlprefix = https://befit-internal.web.dev/nexus/siteconfig/live/
122
123media_directory = /var/local/df/data/media/
124media_urlprefix = https://befit-internal.web.dev/nexus/media/
125
126site_config_template = site-%%d.config
127
128staging_directory = /var/local/df/data/siteconfig/staging/
129staging_urlprefix = https://befit-internal.web.dev/nexus/siteconfig/staging/
130
131
132[server]
133certificate = /etc/ssl/certs/f2l-nexus.pem
134#port = 17971
135privateKey = /etc/ssl/private/f2l-nexus.key
136
137
138[site]
139autologin = false
140localedir = %(dir)s/locale
141plugindir = befit:dfplugins # is this right?
142minimumageatsignup = 16
143maximumageatsignup = 120
144
145
146[status]
147port = 3080
148
149
150[store]
151privileged_user=live
152################## CCP #################
153## This is where the CCP gets its content from (read/write). This must not be the staging database!
154ccp_working_database = pgschema://befit:8BghLaX7asQwzmHJS8i1@rds-befit-prod02.digi-aws.medibank.local:5432/content?searchPath=working,site_unflattened,local,kiosk
155ccp_member_database = pgschema://befit:8BghLaX7asQwzmHJS8i1@rds-befit-prod02.digi-aws.medibank.local:5432/content?searchPath=previewmember,working,site_unflattened,kiosk
156
157## This is the staging database. It should only be written to during distribution of content by the CCP
158ccp_content_database = pgschema://befit:8BghLaX7asQwzmHJS8i1@rds-befit-prod02.digi-aws.medibank.local:5432/content?searchPath=content
159distribute_database = pgschema://befit:8BghLaX7asQwzmHJS8i1@rds-befit-prod02.digi-aws.medibank.local:5432/content?searchPath=content
160publish_database = pgschema://befit:8BghLaX7asQwzmHJS8i1@rds-befit-prod02.digi-aws.medibank.local:5432/content?searchPath=site_flattened,cluster,kiosk
161
162################# Wang ##################
163## The main database to use on the wang clusters
164#wang_primary_database = pgschema://postgres:password@postgres:5432/content?searchPath=member,content,site_flattened,cluster
165
166
167wang_primary_database = pgschema://befit:8BghLaX7asQwzmHJS8i1@rds-befit-prod02.digi-aws.medibank.local:5432/content?searchPath=member,content,site_flattened,cluster,kiosk
168
169# Wang system databases for the site import ingestor to use.
170wang_system_primary_database = pgschema://befit:8BghLaX7asQwzmHJS8i1@rds-befit-prod02.digi-aws.medibank.local:5432/content?searchPath=site_flattened,cluster,kiosk
171wang_system_secondary_database = pgschema://befit:8BghLaX7asQwzmHJS8i1@rds-befit-prod02.digi-aws.medibank.local:5432/content?searchPath=site_flattened,kiosk
172
173# set 'debug' to display SQL queries (nexus and wang)
174debug = false
175
176[wangpbclient]
177server = befit-internal.web.dev
178username = wang
179maxdelay = 5
180password = ceeng2Phi6
181
182[activelife]
183check_period_seconds = 3600
184
185[kiosk]
186check_period_seconds=300
187job_enabled=false
188default_site_id=133
189baseurl=https://api2demo.wellpointgroup.com/
190dataext=api/user/dataext/
191dataext2=api/guest/data/
192userbyguid=api/kioskresults/byguid/
193apiuser=Medibank
194apipass=MEDGiltwood83
195
196[wang]
197show_welcome_dialog = false
198workoutz_url = http://www.workoutz.com/workoutzPlayerEmbed.swf?rtmpURL=rtmp://sog8qu7oihwks.cloudfront.net/cfx/st/&strSource=u1/%%s&shopURL=http://www.workoutz.com/shopping&initialStart=true&thumbURL=
199
200[newwang]
201# If true, and flask is executed directly (not via gunicorn etc), stack traces
202# will be shown whenever an exception is raised.
203# This should be set to false in production!
204DEBUG = false
205
206# A unique string used as a key. Keep this secret in production!
207SECRET_KEY = 'plkijhsdtgbn43435dfslksd32329dlkd3a'
208
209# Port for the new_wang to listen on.
210WANG_PORT = 12230
211WANG_HOST = 0.0.0.0
212
213# The number of seconds before a member's session cookie expires
214session_cookie_timeout_seconds = 3600
215
216# Base URL of the old wang, as seen by a member
217OLD_WANG_URL = http://befit-internal.web.dev:19000
218
219# Space-separated sequence of df config files to load. Order is important.
220# These will be used to access required configuration data
221# from the old wang.
222DF_CONFIG_LOCATIONS = /etc/df/config/site.conf
223
224# URL used for connecting to AHM's services
225# (e.g. ValidateMembership, IsEligible)
226AHM_SERVER_URL = https://api.ahm.com.au/api/restapi.php
227
228# The API key used to connect to the AHM server.
229AHM_API_KEY = b508c2e4-f32f-4392-8d65-6573da86089b
230
231# If set to DEV then the development API will be used.
232AHM_DATACLASS = LIVE
233
234
235#intro page setting
236enable_hap_intro_page = true