forked from foodcoops/foodcoops.net
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapp_config.yml
411 lines (328 loc) · 8.82 KB
/
app_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
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
# Foodsoft configuration
default: &defaults
# If you wanna serve more than one foodcoop with one installation
# Don't forget to setup databases for each foodcoop. See also MULTI_COOP_INSTALL
multi_coop_install: true
# If multi_coop_install you have to use a coop name, which you you wanna be selected by default
default_scope: 'demo'
# name of this foodcoop
name: FC Test
# foodcoop contact information (used for FAX messages)
contact:
street: Grüne Straße 103
zip_code: "10101"
city: Greencity
country: Foodland
email: [email protected]
phone:
# Homepage
homepage: https://foodcoops.github.io
# foodsoft documentation URL
help_url: https://github.com/foodcoops/foodsoft/wiki/Doku
# documentation URL for the apples&pears work system
applepear_url: https://github.com/foodcoops/foodsoft/wiki/%C3%84pfel-u.-Birnen
# custom foodsoft software URL (used in footer)
foodsoft_url: https://foodcoops.github.io
# Default language
#default_locale: en
# By default, foodsoft takes the language from the webbrowser/operating system.
# In case you really want foodsoft in a certain language by default, set this to true.
# When members are logged in, the language from their profile settings is still used.
#ignore_browser_locale: false
# Default timezone, e.g. UTC, Amsterdam, Berlin, etc.
#time_zone: Berlin
# Currency symbol, and whether to add a whitespace after the unit.
#currency_unit: €
#currency_space: true
# price markup in percent
price_markup: 2.0
# default vat percentage for new articles
tax_default: 7.0
# tolerance order option: If set to false, article tolerance values do not count
# for total article price as long as the order is not finished.
tolerance_is_costly: false
# Ordergroups, which have less than 75 apples should not be allowed to make new orders
# Comment out this option to activate this restriction
#stop_ordering_under: 75
# Comment out to completely hide apple points (be sure to comment stop_ordering_under)
#use_apple_points: false
# ordergroups can only order when their balance is higher than or equal to this
# not fully enforced right now, since the check is only client-side
#minimum_balance: 0
# how many days there are between two periodic tasks
#tasks_period_days: 7
# how many days upfront periodic tasks are created
#tasks_upfront_days: 49
# default order schedule, used to provide initial dates for new orders
# (recurring dates in ical format; no spaces!)
#order_schedule:
# ends:
# recurr: FREQ=WEEKLY;INTERVAL=2;BYDAY=MO
# time: '9:00'
# # reference point, this is generally the first pickup day; empty is often ok
# #initial:
# When use_nick is enabled, there will be a nickname field in the user form,
# and the option to show a nickname instead of full name to foodcoop members.
# Members of a user's groups and administrators can still see full names.
use_nick: false
# Most plugins can be enabled/disabled here as well. Messages and wiki are enabled
# by default and need to be set to false to disable. Most other plugins needs to
# be enabled before they do anything.
#use_wiki: true
#use_messages: true
# Base font size for generated PDF documents
#pdf_font_size: 12
# Page size for generated PDF documents
#pdf_page_size: A4
# Some documents (like group and article PDFs) can include page breaks
# after each sublist.
#pdf_add_page_breaks: true
# Alternatively, this can be set for each document.
#pdf_add_page_breaks:
# order_by_groups: true
# order_by_articles: true
# Page footer (html allowed). Default is a Foodsoft footer. Set to `blank` for no footer.
#page_footer: <a href="http://www.foodcoop.test/">FC Test</a> is supported by <a href="http://www.hoster.test/">Hoster</a>.
# Custom CSS for the foodcoop
#custom_css: 'body { background-color: #fcffba; }'
# Uncomment to add tracking code for web statistics, e.g. for Piwik. (Added to bottom of page)
#webstats_tracking_code: |
# <!-- Piwik -->
# ......
# email address to be used as sender
email_sender: <%= ENV['EMAIL_SENDER'] %>
# domain to be used for reply emails
#reply_email_domain: reply.foodcoop.test
# If your foodcoop uses a mailing list instead of internal messaging system
#mailing_list: [email protected]
#mailing_list_subscribe: [email protected]
# Config for the exception_notification plugin
notification:
error_recipients: <%= (ENV['ERROR_RECIPIENTS'] || '').split %>
sender_address: <%= "\\\"Foodsoft Error\\\" <#{ENV['EMAIL_SENDER']}>" %>
email_prefix: "[Foodsoft]"
# http config for this host to generate links in emails (uses environment config when not set)
protocol: https
host: <%= ENV['HOSTNAME'] %>
#port: 3000
# Access to sharedlists, the external article-database.
# This allows a foodcoop to subscribe to a selection of a supplier's full assortment,
# and makes it possible to share data with several foodcoops. Using this requires installing
# an additional application with a separate database.
shared_lists: <%= ENV['SHAREDLISTS_DATABASE_URL'] %>
# don't remove this, required to run the app
production:
<<: *defaults
# demo instance
demo:
<<: *defaults
database:
database: foodsoft_demo
allmendetaucha:
<<: *defaults
database:
database: foodsoft_allmendetaucha
beisswat:
<<: *defaults
database:
database: foodsoft_beisswat
biwag:
<<: *defaults
database:
database: foodsoft_biwag
boernicke:
<<: *defaults
database:
database: foodsoft_boernicke
cocos:
<<: *defaults
database:
database: foodsoft_cocos
coolmuehle:
<<: *defaults
database:
database: foodsoft_coolmuehle
eca:
<<: *defaults
database:
database: foodsoft_eca
eszi:
<<: *defaults
database:
database: foodsoft_eszi
ethelkidson:
<<: *defaults
database:
database: foodsoft_ethelkidson
egliswil:
<<: *defaults
database:
database: foodsoft_egliswil
elsabinar:
<<: *defaults
database:
database: foodsoft_elsabinar
engelingshof:
<<: *defaults
database:
database: foodsoft_engelingshof
fairnetzt:
<<: *defaults
database:
database: foodsoft_fairnetzt
fcbn:
<<: *defaults
database:
database: foodsoft_fcbn
fcww:
<<: *defaults
database:
database: foodsoft_fcww
foodkorb:
<<: *defaults
database:
database: foodsoft_foodkorb
freeportcoop:
<<: *defaults
database:
database: foodsoft_freeportcoop
frw:
<<: *defaults
database:
database: foodsoft_frw
fuki:
<<: *defaults
database:
database: foodsoft_fuki
guerckchen:
<<: *defaults
database:
database: foodsoft_guerckchen
hessenhagen:
<<: *defaults
database:
database: foodsoft_hessenhagen
himmelrich:
<<: *defaults
database:
database: foodsoft_himmelrich
imbiss:
<<: *defaults
database:
database: foodsoft_imbiss
jolling:
<<: *defaults
database:
database: foodsoft_jolling
koeln:
<<: *defaults
database:
database: foodsoft_koeln
konsumkoop:
<<: *defaults
database:
database: foodsoft_konsumkoop
korb:
<<: *defaults
database:
database: foodsoft_korb
lauterleben:
<<: *defaults
database:
database: foodsoft_lauterleben
lekoweimar:
<<: *defaults
database:
database: foodsoft_lekoweimar
lhgfg:
<<: *defaults
database:
database: foodsoft_lhgfg
localharvest:
<<: *defaults
database:
database: foodsoft_localharvest
lostfood:
<<: *defaults
database:
database: foodsoft_lostfood
luzern:
<<: *defaults
database:
database: foodsoft_luzern
m19:
<<: *defaults
database:
database: foodsoft_m19
mannheim:
<<: *defaults
database:
database: foodsoft_mannheim
meierei:
<<: *defaults
database:
database: foodsoft_meierei
minitopia:
<<: *defaults
database:
database: foodsoft_minitopia
oosterwold:
<<: *defaults
database:
database: foodsoft_oosterwold
radieschen:
<<: *defaults
database:
database: foodsoft_radieschen
recknitz:
<<: *defaults
database:
database: foodsoft_recknitz
rundling:
<<: *defaults
database:
database: foodsoft_rundling
schalottchen:
<<: *defaults
database:
database: foodsoft_schalottchen
plattsalat:
<<: *defaults
database:
database: foodsoft_plattsalat
rudifood:
<<: *defaults
database:
database: foodsoft_rudifood
osdorp:
<<: *defaults
database:
database: foodsoft_osdorp
stolzenhagen:
<<: *defaults
database:
database: foodsoft_stolzenhagen
tanteaute:
<<: *defaults
database:
database: foodsoft_tanteaute
tanteemmen:
<<: *defaults
database:
database: foodsoft_tanteemmen
tuess:
<<: *defaults
database:
database: foodsoft_tuess
tutcoop:
<<: *defaults
database:
database: foodsoft_tutcoop
yamhi:
<<: *defaults
database:
database: foodsoft_yamhi
vokomaastricht:
<<: *defaults
database:
database: foodsoft_vokomaastricht