-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpadro.conf.template
74 lines (68 loc) · 2.34 KB
/
padro.conf.template
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
# vim:set sts=4 sw=4 ts=4 ft=perl expandtab:
{
####################
# Hypnotoad settings
####################
# see http://mojolicio.us/perldoc/Mojo/Server/Hypnotoad for a full list of settings
hypnotoad => {
# array of IP addresses and ports you want to listen to
listen => ['http://127.0.0.1:8080'],
# if you use Lutim behind a reverse proxy like Nginx, you want to set proxy to 1
# if you use Lutim directly, let it commented
#proxy => 1,
},
# Random string used to encrypt cookies
# Change it!
# mandatory
secrets => ['secret'],
# choose a theme. See the available themes in `themes` directory
# optional, default is 'default'
#theme => 'default',
# URL sub-directory in which you want Padro to be accessible
# example: you want to have Padro under https://example.org/padro/
# => set prefix to '/padro' or to '/padro/', it doesn't matter
# optional, defaut is /
#prefix => '/',
#########################
# Padro database settings
#########################
# Where all the pads will be stored
# mandatory
db => {
database => 'padro',
host => 'localhost',
user => 'DBUSER',
pwd => 'DBPASSWORD'
},
#########################
# Minion database settings
#########################
# Where all the jobs will be enqueued
minion_db => {
database => 'padro_minion',
host => 'localhost',
user => 'MINIONDBUSER',
pwd => 'MINIONDBPASSWORD'
},
###################
# Etherpad settings
###################
# Have you already imported all your pads? If yes, uncomment it.
# If set to 1, Padro will not try to contact the Etherpad instance to fetch pads.
# optional, default to 0
#already_imported => 1,
# Credentials to the Etherpad instance you want to connect with
# mandatory
ep => {
url => 'http://pad.example.org',
apikey => 'XXXX',
# Optional: user and password
# user => 'ep_user',
# password => 'ep_password'
# Optional: web proxy settings
# proxy => {
# http => 'http://my_web_proxy_url:my_web_proxy_port',
# https => 'http://my_web_proxy_url:my_web_proxy_port',
# }
},
}