-
Notifications
You must be signed in to change notification settings - Fork 0
/
ou_test_dataserver_environment.cfg
794 lines (666 loc) · 19.5 KB
/
ou_test_dataserver_environment.cfg
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
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
[buildout]
extends =
logrotate.cfg
prometheus.cfg
nginx.cfg
relstorage_environment.cfg
analytics.cfg
sites.cfg
scorm.cfg
solr.cfg
credit.cfg
calendar.cfg
saml_conf.cfg
contentrendering.cfg
courseware_content.cfg
invitations.cfg
segments.cfg
presentation.cfg
prod_server_versions.cfg
patterson_saml_conf.cfg
always-checkout = true
# NOTE: When extending multiple base configs,
# only the parts from the bottom config are
# installed by default (even if they all use 'parts +=').
# So if we want to install parts from both configs,
# we need to explicitly list them.
parts =
logrotate-conf
logrotate-cron
node_exporter
statsd_exporter
lxml
pillow
eggs
checkversions
passwords
directories
zcml
main-conf
pserve-conf
gunicorn-conf
library-conf
site-assets-conf
clean-pyc
roles
supervisor
nginx-conf
relstorages
site-virtualeventplace-test-conf
analytics-conf
analytics-alpha-conf
analytics-apple-rwi-conf
analytics-cceducare-conf
analytics-codesooner-conf
analytics-competitionmath-conf
analytics-complyu-conf
analytics-darelearning-conf
analytics-demo-conf
analytics-dpcedcenter-conf
analytics-dta-conf
analytics-electricalassociation-conf
analytics-ensync-conf
analytics-epiccharterschools-conf
analytics-hrpros-conf
analytics-i2-conf
analytics-ifsta-conf
analytics-macsw-conf
analytics-mygov-conf
analytics-nrwa-conf
analytics-odapca-conf
analytics-opsrc-conf
analytics-osde-conf
analytics-prmia-conf
analytics-rwi-conf
analytics-theopp-conf
analytics-virtualeventplace-test-conf
analytics-wecreatepeace-conf
${scorm-ALL-beta:conf}
feed-utility-conf
solr-conf
imagemagick
nltk
nltk_data
patterson-test-saml-conf
patterson-test-idp-conf
nti-sso-dev-key
nti-sso-dev-cert
invitations-signer-conf
stripe-conf
google-sso-conf
dataserver-conf
client-site-package-conf
client-site-package
linkbuilder
default-asset-link
default-default-asset-link
[recipe-versions]
zodb = branch=manual_postgres_dsn
[extra-sources]
nti.deploymenttools.scripts = git git@github.com:NextThought/nti.deploymenttools.scripts.git branch=master
[product-sources]
<= product-ou-sources
product-courses-sources
product-segment-sources
product-ensync-sources
product-integration-ALL-sources
[solr-sources]
<= solr-ALL-sources
[completion-sources]
<= completion-ALL-sources
[credit-sources]
<= credit-ALL-sources
[calendar-sources]
<= calendar-ALL-sources
[site-sources]
<= site-accenture-rwi-sources
site-apple-rwi-sources
site-alpha-sources
site-arlensa-sources
site-arcbest-sources
site-associationlearning-sources
site-aatb-sources
site-aub-sources
site-augs-sources
site-bakerhughes-sources
site-bancfirst-sources
site-bellwetherenterprise-sources
site-careoklahoma-sources
site-cceducare-sources
site-changemaker-sources
site-chegg-sources
site-codesooner-sources
site-columbia-sources
site-competitionmath-sources
site-complyu-sources
site-connect-sources
site-darelearning-sources
site-demo-sources
site-dpcedcenter-sources
site-dta-sources
site-edbooks-sources
site-electricalassociation-sources
site-engage-sources
site-ensync-sources
site-epiccharterschools-sources
site-esteem-sources
site-gammaphibeta-sources
site-genlab-sources
site-greatexpectations-sources
site-halsmith-sources
site-history-sources
site-hrpros-sources
site-i2-sources
site-ifsta-sources
site-iiaok-sources
site-iled-sources
site-k20-sources
site-lawokcu-sources
site-legalshield-sources
site-litworld-sources
site-macsw-sources
site-mobar-sources
site-movingup-sources
site-mygov-sources
site-nahb-sources
site-nrwa-sources
site-odapca-sources
site-okbfaa-sources
site-okchristian-sources
site-okstate-sources
site-ona-sources
site-onenet-sources
site-opsrc-sources
site-osde-sources
site-pairin-sources
site-pdca-sources
site-performance-sources
site-positive-ed-sources
site-prmia-sources
site-proximity-sources
site-rdn1-sources
site-rntpros-sources
site-rwi-sources
site-sallt-sources
site-santafesouth-sources
site-sevenedge-sources
site-smarttech-sources
site-sme-sources
site-spurstartup-sources
site-symmys-sources
site-strata-sources
site-thelanguagecompany-sources
site-theopp-sources
site-thinkful-sources
site-wecreatepeace-sources
site-xyzuniversity-sources
[courseware-ALL-sources]
<= invitations-ALL-sources
presentation-ALL-sources
courseware-content-ALL-sources
[logrotate-cron]
logrotate-bin = /usr/sbin/logrotate
[on-site-logs-cron]
recipe = z3c.recipe.usercrontab
rsync-bin = /usr/bin/rsync
times = 5,20,35,50 * * * *
command = ${:rsync-bin} --numeric-ids -a "${deployment:log-directory}/" "logger1.nti::logs/$HOSTNAME/"
[off-site-logs-cron]
recipe = z3c.recipe.usercrontab
rsync-bin = /usr/bin/rsync
times = 10,25,40,55 * * * *
command = ${:rsync-bin} --numeric-ids -a "${deployment:log-directory}/" "10.50.30.64::logs/ou-test/$HOSTNAME/"
[zcml]
# Temporarily let non-ou-enrolled students have all assignments
package_features += no_avatar
[eggs]
eggs +=
${analytics-ALL-eggs:eggs}
${completion-ALL-eggs:eggs}
${contentrendering-MAIN-eggs:eggs}
${courseware-content-ALL-eggs:eggs}
${credit-ALL-eggs:eggs}
${calendar-ALL-eggs:eggs}
${invitations-ALL-eggs:eggs}
${product-ou-eggs:eggs}
${product-courses-eggs:eggs}
${product-segment-eggs:eggs}
${product-integration-eggs:eggs}
${site-accenture-rwi-eggs:eggs}
${site-apple-rwi-eggs:eggs}
${site-alpha-eggs:eggs}
${site-arlensa-eggs:eggs}
${site-arcbest-eggs:eggs}
${site-associationlearning-eggs:eggs}
${site-aatb-eggs:eggs}
${site-aub-eggs:eggs}
${site-augs-eggs:eggs}
${site-bakerhughes-eggs:eggs}
${site-bancfirst-eggs:eggs}
${site-bellwetherenterprise-eggs:eggs}
${site-careoklahoma-eggs:eggs}
${site-cceducare-eggs:eggs}
${site-codesooner-eggs:eggs}
${site-changemaker-eggs:eggs}
${site-chegg-eggs:eggs}
${site-columbia-eggs:eggs}
${site-competitionmath-eggs:eggs}
${site-complyu-eggs:eggs}
${site-connect-eggs:eggs}
${site-darelearning-eggs:eggs}
${site-demo-eggs:eggs}
${site-dpcedcenter-eggs:eggs}
${site-dta-eggs:eggs}
${site-edbooks-eggs:eggs}
${site-electricalassociation-eggs:eggs}
${site-engage-eggs:eggs}
${site-ensync-eggs:eggs}
${site-epiccharterschools-eggs:eggs}
${site-esteem-eggs:eggs}
${site-gammaphibeta-eggs:eggs}
${site-genlab-eggs:eggs}
${site-greatexpectations-eggs:eggs}
${site-halsmith-eggs:eggs}
${site-history-eggs:eggs}
${site-hrpros-eggs:eggs}
${site-i2-eggs:eggs}
${site-ifsta-eggs:eggs}
${site-iiaok-eggs:eggs}
${site-iled-eggs:eggs}
${site-k20-eggs:eggs}
${site-lawokcu-eggs:eggs}
${site-legalshield-eggs:eggs}
${site-litworld-eggs:eggs}
${site-macsw-eggs:eggs}
${site-mobar-eggs:eggs}
${site-movingup-eggs:eggs}
${site-mygov-eggs:eggs}
${site-nrwa-eggs:eggs}
${site-nahb-eggs:eggs}
${site-odapca-eggs:eggs}
${site-okbfaa-eggs:eggs}
${site-okchristian-eggs:eggs}
${site-okstate-eggs:eggs}
${site-ona-eggs:eggs}
${site-onenet-eggs:eggs}
${site-opsrc-eggs:eggs}
${site-osde-eggs:eggs}
${site-pairin-eggs:eggs}
${site-pdca-eggs:eggs}
${site-performance-eggs:eggs}
${site-positive-ed-eggs:eggs}
${site-prmia-eggs:eggs}
${site-proximity-eggs:eggs}
${site-rdn1-eggs:eggs}
${site-rntpros-eggs:eggs}
${site-rwi-eggs:eggs}
${site-sallt-eggs:eggs}
${site-santafesouth-eggs:eggs}
${site-sevenedge-eggs:eggs}
${site-smarttech-eggs:eggs}
${site-sme-eggs:eggs}
${site-spurstartup-eggs:eggs}
${site-strata-eggs:eggs}
${site-symmys-eggs:eggs}
${site-genlab-eggs:eggs}
${site-thelanguagecompany-eggs:eggs}
${site-theopp-eggs:eggs}
${site-thinkful-eggs:eggs}
${site-wecreatepeace-eggs:eggs}
${site-xyzuniversity-eggs:eggs}
${solr-ALL-eggs:eggs}
psycopg2
nti.deploymenttools.scripts
[MySQL-python]
environment =
rpath =
library-dirs = /usr/lib
include-dirs = /usr/include
[solr-conf]
files = 785-ou-test-solr.zcml
[passwords]
file = ou_test_passwords.pass.cast5
[roles]
# Permission some accounts with special capabilities
files += 667-alpha-rolemap.zcml
[relstorages]
shared-blob-dir = false
storages = Users Users_1_Test Users_2_Test
relstorage-name-prefix = xxx
enable-persistent-cache = true
cache-local-mb = 300
cache-local-dir-count = 4
blob-cache-size = 5gb
commit_lock_timeout = 10
sql_adapter = postgresql
cache_size = 10000
pool_size = 20
pool_timeout = 3600
[relstorages_users_storage_opts]
sql_adapter_extra_args =
dsn dbname='beta' user='beta' host='relstorage01-dev.nti' password='${passwords:postgres_users_passwd}'
[relstorages_users_1_test_storage_opts]
sql_adapter_extra_args =
dsn dbname='beta_users_1' user='beta' host='relstorage01-dev.nti' password='${passwords:postgres_users_passwd}'
[relstorages_users_2_test_storage_opts]
sql_adapter_extra_args =
dsn dbname='beta_users_2' user='beta' host='relstorage01-dev.nti' password='${passwords:postgres_users_passwd}'
[environment]
sql_user = ntiuser
sql_host = db1.ou-test
cache_servers =
smtp_server = email-smtp.us-east-1.amazonaws.com
smtp_username = ***REMOVED***
smtp_port = 587
global_host_name = beta.nextthought.com
global_content_directory = ${buildout:directory}/../DataserverGlobalLibrary
global_content_location = /content/
global_site_assets_directory = ${buildout:directory}/../SiteAssets
global_site_assets_location = /site-assets/
haproxy_http_port = 2080
# Because of the order of inclusion, we need this here
webapp_path = ${buildout:sources-dir}/nti.web.app
loginapp_path = ${buildout:sources-dir}/NextThoughtLoginApp
### StatsD
statsd_port = 9125
statsd_prefix = 'pserve'
[nginx-conf]
# Core Settings
nginx_root = ${buildout:root-directory}/node_modules/@nti/client-sites-default/dist/
nginx_user = ntiuser
nginx_workers = 9
robots_file = robots-dev.txt
default_site_assets = ${buildout:root-directory}/node_modules/@nti/client-sites-default
nt_site_assets = ${buildout:root-directory}/node_modules/@nti/client-sites-default
sites_basedir = ${deployment:run-directory}/www
# Cache options
global_host_name = ""
nginx_ip = 0.0.0.0
nginx_proxy_port = ${environment:nginx_proxy_port}
nginx_http_port = ${environment:nginx_http_port}
nginx_extra_binds =
listen ${:nginx_http_port};
nginx_dataserver_port = lb.ou-test:${environment:haproxy_http_port}
[nginx-conf:macosx]
# AIO is not even a directive on osx
aio =
[main-conf]
redis_client_url = redis://redis.ou-test:6379
[stripe]
secret_key = ${passwords:nti_stripe_key}
client_id = ca_1FSb6y5t7qj6DPOCQjEApTbc5Ou6XCHx
[google-oauth]
authorization_url = https://oauth-test.nextthought.com/google/oauth1
[google-api]
filepicker_key = ***REMOVED***
filepicker_appid = 665766464403
[google-sso]
api_key = ***REMOVED***
secret_key = ***REMOVED***
[stripe-oauth]
authorization_url = https://oauth-test.nextthought.com/stripe/oauth1
[site-virtualeventplace-test-conf]
<= site-macro
recipe = z3c.recipe.filetemplate
name = virtualeventplace-test
site-id = s551c6995a18b456d84fec21935a59294
site-brand = Virtual Event Place
site-hostname = virtualeventplace-test.nextthought.com
[analytics-environment]
host = db1.ou-test:3306
[analytics-ifsta-environment]
db-user = ${analytics-environment:user}
db-host = ${analytics-environment:host}
[analytics]
dbname = Analytics
user = ${analytics-environment:user}
twophase = True
autocommit = False
driver = gevent+mysql
host = ${analytics-environment:host}
password = ${passwords:sql_users_passwd}
[analytics-conf]
recipe = z3c.recipe.filetemplate
source-directory = templates
dest-directory = ${deployment:root-directory}
files = 777-nti.app.analytics.zcml
[analytics-alpha-conf]
host = ${analytics-environment:host}
[analytics-changemaker-conf]
host = ${analytics-environment:host}
[analytics-columbia-conf]
host = ${analytics-environment:host}
[analytics-codesooner-conf]
host = ${analytics-environment:host}
[analytics-edbooks-conf]
host = ${analytics-environment:host}
[analytics-k20-conf]
host = ${analytics-environment:host}
[analytics-prmia-conf]
host = ${analytics-environment:host}
[analytics-spurstartup-conf]
host = ${analytics-environment:host}
[analytics-greatexpectations-conf]
host = ${analytics-environment:host}
[analytics-i2-conf]
host = ${analytics-environment:host}
[analytics-ifsta-conf]
host = ${analytics-environment:host}
[analytics-iled-conf]
host = ${analytics-environment:host}
[analytics-litworld-conf]
host = ${analytics-environment:host}
[analytics-movingup-conf]
host = ${analytics-environment:host}
[analytics-ona-conf]
host = ${analytics-environment:host}
[analytics-osde-conf]
host = ${analytics-environment:host}
[analytics-rwi-conf]
host = ${analytics-environment:host}
[analytics-cceducare-conf]
host = ${analytics-environment:host}
[analytics-epiccharterschools-conf]
host = ${analytics-environment:host}
[analytics-arlensa-conf]
host = ${analytics-environment:host}
[analytics-accenturerwi-conf]
host = ${analytics-environment:host}
[analytics-associationlearning-conf]
host = ${analytics-environment:host}
[analytics-dpcedcenter-conf]
host = ${analytics-environment:host}
[analytics-odapca-conf]
host = ${analytics-environment:host}
[analytics-okbfaa-conf]
host = ${analytics-environment:host}
[analytics-demo-conf]
host = ${analytics-environment:host}
[analytics-ensync-conf]
host = ${analytics-environment:host}
[analytics-complyu-conf]
host = ${analytics-environment:host}
[analytics-sallt-conf]
host = ${analytics-environment:host}
[analytics-darelearning-conf]
host = ${analytics-environment:host}
[analytics-wecreatepeace-conf]
host = ${analytics-environment:host}
[analytics-engage-conf]
host = ${analytics-environment:host}
[analytics-sevenedge-conf]
host = ${analytics-environment:host}
[analytics-nrwa-conf]
host = ${analytics-environment:host}
[analytics-bellwetherenterprise-conf]
host = ${analytics-environment:host}
[analytics-dta-conf]
host = ${analytics-environment:host}
[analytics-esteem-conf]
host = ${analytics-environment:host}
[analytics-chegg-conf]
host = ${analytics-environment:host}
[analytics-nahb-conf]
host = ${analytics-environment:host}
[analytics-rntpros-conf]
host = ${analytics-environment:host}
[analytics-iiaok-conf]
host = ${analytics-environment:host}
[analytics-proximity-conf]
host = ${analytics-environment:host}
[analytics-apple-rwi-conf]
host = ${analytics-environment:host}
[analytics-pdca-conf]
host = ${analytics-environment:host}
[analytics-opsrc-conf]
host = ${analytics-environment:host}
[analytics-macsw-conf]
host = ${analytics-environment:host}
[analytics-rdn1-conf]
host = ${analytics-environment:host}
[analytics-careoklahoma-conf]
host = ${analytics-environment:host}
[analytics-smarttech-conf]
host = ${analytics-environment:host}
[analytics-xyzuniversity-conf]
host = ${analytics-environment:host}
[analytics-bancfirst-conf]
host = ${analytics-environment:host}
[analytics-thelanguagecompany-conf]
host = ${analytics-environment:host}
[analytics-lawokcu-conf]
host = ${analytics-environment:host}
[analytics-onenet-conf]
host = ${analytics-environment:host}
[analytics-gammaphibeta-conf]
host = ${analytics-environment:host}
[analytics-mygov-conf]
host = ${analytics-environment:host}
[analytics-strata-conf]
host = ${analytics-environment:host}
[analytics-pairin-conf]
host = ${analytics-environment:host}
[analytics-arcbest-conf]
host = ${analytics-environment:host}
[analytics-legalshield-conf]
host = ${analytics-environment:host}
[analytics-electricalassociation-conf]
host = ${analytics-environment:host}
[analytics-theopp-conf]
host = ${analytics-environment:host}
[analytics-mobar-conf]
host = ${analytics-environment:host}
[analytics-hrpros-conf]
files = 777-nti.app.analytics.hrpros.zcml
host = ${analytics-environment:host}
[analytics-aub-conf]
host = ${analytics-environment:host}
[analytics-aatb-conf]
host = ${analytics-environment:host}
[analytics-competitionmath-conf]
host = ${analytics-environment:host}
[analytics-halsmith-conf]
host = ${analytics-environment:host}
[analytics-positive-ed-conf]
host = ${analytics-environment:host}
[analytics-bakerhughes-conf]
host = ${analytics-environment:host}
[analytics-thinkful-conf]
host = ${analytics-environment:host}
[analytics-sme-conf]
host = ${analytics-environment:host}
[analytics-virtualeventplace-test-conf]
<= analytics-macro
recipe = z3c.recipe.filetemplate
name = virtualeventplace
site-id = ${site-virtualeventplace-test-conf:site-id}
[pserve-conf]
email_error_subject_prefix = OU-Test Error:
i2_enrollment_addresses = nti-testing@nextthought.com josh.zuech@nextthought.com
gc_debug = False
gc_disable = False
gc_gen0_threshold = 7000
gc_gen1_threshold = 1000
gc_gen2_threshold = 10000
[gunicorn-conf]
preload_app = true
reuse_port = true
workers = 2
[library-conf]
library-type = filesystemLibrary
library-args =
directory="${environment:global_content_directory}"
prefix="${environment:global_content_location}"
[feed-utility-conf]
recipe = z3c.recipe.filetemplate
source-directory = templates
dest-directory = ${deployment:root-directory}
files = fetch_feed
[client-site-package-conf]
recipe = nti.recipes.json
output-file = ${buildout:directory}/package.json
contents-section = client-site-package-conf-main
[client-site-package-conf-main]
name = nti-buildout
version = 0.0.1
description = NextThought Buildout NodeJS Library
author = NextThought
private = true
dependencies-section = client-site-package-conf-deps
[client-site-package-conf-deps]
@nti/client-sites-default = 1.2.0
@nti/client-sites-epiccharterschools = 1.6.1
@nti/client-sites-ifsta = 1.17.0
@nti/client-sites-osde = 1.20.1627420206668
@nti/client-sites-hrpros = 1.8.0
@nti/content-landingpage-oustar = 1.4.5
@nti/environment-support = 2018.1.0
nti-lib-vendor = 2018.0.0
[client-site-package]
recipe = collective.recipe.cmd
on_install = true
on_update = true
site-asset-package = ${buildout:root-directory}
cmds =
pushd ${:site-asset-package}
npm install
npm update
popd
[linkbuilder]
recipe = collective.recipe.cmd
on_install = true
on_update = true
cmds =
${buildout:bin-directory}/nti_client_linkbuilder --source ${buildout:root-directory}/node_modules --dest ${deployment:run-directory}/www/
[default-asset-link]
recipe = collective.recipe.cmd
on_install = true
on_update = false
cmds =
mkdir -p ${deployment:run-directory}/www/default-assets
pushd ${deployment:run-directory}/www/default-assets
ln -s ${environment:default_site_assets}/dist site-assets
popd
[supervisor]
# Disable supervisord based log rotation because we have switched to using logrotate
logfile-maxbytes = 0
childstdout-logfile-maxbytes = 0
childstderr-logfile-maxbytes = 0
# Don't wipe away existing logs
nocleanup = True
pserve_group_programs = pserve,analytics,metadata,solr_indexer,library_renderer,scheduled_job_dispatcher,scheduled_job_executor
programs =
999 pserve (stopwaitsecs=30) ${deployment:root-directory}/bin/nti_pserve [${:pserve-ini}]
99 solr_indexer (autostart=false stopwaitsecs=30) ${deployment:bin-directory}/nti_solr_indexer [-v]
99 analytics (autostart=false stopwaitsecs=30) ${deployment:bin-directory}/nti_analytics_processor [-v]
99 metadata (autostart=false stopwaitsecs=30) ${deployment:bin-directory}/nti_metadata_processor [-v]
99 library_renderer (autostart=false stopwaitsecs=30) ${deployment:bin-directory}/nti_library_renderer [-v -r 1 -s 2]
99 scheduled_job_dispatcher (autostart=false stopwaitsecs=30) ${deployment:bin-directory}/nti_scheduled_dispatcher [-v]
99 scheduled_job_executor (autostart=false stopwaitsecs=30) ${deployment:bin-directory}/nti_scheduled_executor [-v]
99 nginx /usr/sbin/nginx [-c ${deployment:etc-directory}/nginx/nginx.conf]
99 qp_mailer ${deployment:bin-directory}/nti_mailer_qp_process [-v ${deployment:mail-directory}]
${prometheus-supervisord:node_exporter}
${prometheus-supervisord:statsd_exporter}
[boto]
aws_access_key_id = ***REMOVED***
aws_secret_access_key = ${passwords:aws_secret_access_key}