-
Notifications
You must be signed in to change notification settings - Fork 1
/
config.yml.example
100 lines (88 loc) · 2.57 KB
/
config.yml.example
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
# This is the main configuration file of your Dancer2 app
# env-related settings should go to environments/$env.yml
# all the settings in this file will be loaded at Dancer's startup.
# Your application's name
appname: "Lenio"
# The default layout to use for your application (located in
# views/layouts/main.tt)
layout: "main"
# when the charset is set to UTF-8 Dancer2 will handle for you
# all the magic of encoding and decoding. You should not care
# about unicode within your app when this setting is set (recommended).
charset: "UTF-8"
template: "template_toolkit"
logger: LogReport
session: "YAML"
lenio:
emailtemplate: "/usr/share/nginx/lenio/email"
dateformat: "%x"
email_from: '"Email from" <[email protected]>' # "from" header
email_sender: '[email protected]' # "sender", if different
invoice:
autonumber: 0
prefix: PM
logo: public/images/BC_logo.jpg
company: My Company
address: |
My Street
My Town
AB12 3BC
Office: 123456
Mobile: 123456
payment: |
BACS payments to:
My Bank
Sort Code: 12-34-56
Acc No: 12345678
Please quote invoice number on all payments
Cheques made payable to:
My Company Ltd
footer: >
In accordance with our Standard Terms of Business this account is payable
within 14 days of the date of this invoice.
footer_left: My Company Ltd - Company Number 123456
footer_right: "VAT Registration Number: 123456"
sla_notes: |
1. This is SLA note 1
2. This is SLA note 2
engines:
session:
YAML:
session_dir: "/tmp/dancer-sessions"
cookie_duration: 7200
cookie_name: lenio.session
is_secure: 1
plugins:
DBIC:
default:
dsn: dbi:mysql:database=lenio;mysql_enable_utf8=1;host=localhost
schema_class: Lenio::Schema
user: lenio
password: lenio
options:
RaiseError: 1
PrintError: 1
quote_names: 1
mysql_enable_utf8: 1
Auth::Extensible:
mailer:
module: Mail::Message
options:
via: sendmail
reset_password_handler: 1
mail_from: '"Bradbury Consulting" <[email protected]>'
login_page_handler: Lenio::login_page_handler
no_login_handler: 1
exit_page: '/'
realms:
dbic:
provider: DBIC
users_table: login
roles_table: permission
user_roles_table: login_permission
roles_role_column: name
roles_key: permission
users_pwresetcode_column: pwdreset
encryption_algorithm: SHA-512
user_valid_conditions:
deleted: ~