-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdefaults.yaml
74 lines (57 loc) · 2.4 KB
/
defaults.yaml
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
#####################################################################
# NOTE:
#
# These are default settings! Do not change this file! If you want
# to override any settings, please do so in config.yaml instead (you
# should copy config.yaml.example if config.yaml does not yet exist.
# The fully qualified domain name of this server
# (the Libertree backend component)
domain: libertree.localhost
# The host running the XMPP server (usually localhost)
xmpp_server: localhost
# The shared secret between XMPP server and the Libertree backend
shared_secret: secret
# The component port on the XMPP server
port: 5347
# The path to the Unix domain socket used by the XMPP relay
# (will be created if it does not exist)
relay_socket: tmp/libertree-relay
# The administrator's email address to allow other
# Libertree administrators to contact you.
contact: admin@mydomain.net
# The path to the private RSA key
# Use generate-key-pair.rb to generate it.
# TODO: A private key seems useful for server migration; keep this for now as a
# reminder although the XMPP branch does not yet use key pairs.
private_key_path: private.key
# The URL base of the frontend web interface (used for URL substitution)
frontend_url_base: http://domain-or-ip-without-trailing-slash
# The path to the avatars directory of the frontend on disk. This is the
# directory to save the avatars fetched by the http:avatar job.
avatar_dir: /opt/libertree/frontend-ramaze/public/images/avatars/
# The frontend location through which stored avatars are accessed via HTTP.
avatar_url: /images/avatars/
# For more verbose output, set debug to true.
debug: false
# If no log_path is specified, the server logs to stdout
log_path: logs/backend.log
# Specify a pid_dir to have the process id written to a file in that dir.
pid_dir: pids/
# websocket server settings
websocket_listen_host: 127.0.0.1
websocket_port: 8080
secure_websocket: false
#websocket_ssl_cert: /path/to/cert
#websocket_ssl_private_key: /path/to/private/key
# What the system will use for sending email
smtp:
host: mail.example.org
port: 25
username: exampleusername
password: examplepassword
authentication: plain # plain, login, cram_md5, or comment out for no auth
helo_domain: localhost.localdomain
starttls_auto: false
ssl: false
from_address: exampleusername@example.org
# openssl_verify_mode: none # Either comment out, or choose: none, peer, client_once, fail_if_no_peer_cert