-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathconfig-lobby-vagrant.yml
103 lines (100 loc) · 3.01 KB
/
config-lobby-vagrant.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
---
# List of domains ejabberd should serve for XMPP. In addition to the
# domains mentioned in this option, ejabberd always serves "localhost".
domains: []
# Set to true if you want to register a new Letsencrypt account if
# none exists yet and want to request a new TLS-certificate.
# Please mind that you are agreeing to the ToS of Letsencrypt when
# doing so. The host you're deploying the code to also needs to have
# the domains defined above to be configured in DNS to point to the
# host for it to succeed. If set to false you need to bring your
# certbot configuration and ensure certificates exist for the domains
# configured above.
acme_request_new_certificates: false
# List of dictionaries to configure the pyrogenesis lobby bots to be
# present.
bots: [
{
"name": "xpartamupp",
"jid": "xpartamupp@localhost",
"source": "git+https://github.com/0ad/lobby-bots@master",
"type": "xpartamupp",
"config": {
"login": "xpartamupp",
"password": xpartamupp,
"nickname": "XpartaMuPP",
"domain": "localhost",
"room": "arena",
"no_verify": true,
"verbosity": 3
}
},
{
"name": "echelon",
"jid": "echelon@localhost",
"source": "git+https://github.com/0ad/lobby-bots@master",
"type": "echelon",
"config": {
"login": "echelon",
"password": echelon,
"nickname": "EcheLOn",
"domain": "localhost",
"room": "arena",
"no_verify": true,
"verbosity": 3
}
},
{
"name": "modbot",
"jid": "moderation-bot@localhost",
"source": "git+https://github.com/0ad/lobby-bots@master",
"type": "moderation",
"config": {
"login": "moderation-bot",
"password": "moderation-bot",
"nickname": "ModerationBot",
"domain": "localhost",
"rooms": ["arena"],
"command_room": "moderation",
"no_verify": true,
"verbosity": 3,
"enable_profanity_monitoring": true
}
},
]
# List of local admin users to create on the host. Each user does have
# password-less sudo permissions.
# Each item of the list has to contain a "username" key and has an
# optional "ssh_keys" key which allows configuring one or multiple SSH
# public keys.
# admins: [
# {
# "username": "admin",
# "ssh_keys": [
# "ssh-ed25519 use_a_real_key_here admin@localhost"
# ]
# }
# ]
admins: []
# List of JIDs of all users which should have ejabberd admin
# permissions. Note that these XMPP users need to be created manually.
ejabberd_admins: [
"admin@localhost"
]
# List of JIDs of all users which should have MUC admin permissions to
# the lobby MUC rooms. Note that these XMPP users need to be created
# manually.
ejabberd_muc_admins: [
"admin@localhost"
]
# Dictionary of MUC rooms to create automatically. The key for each
# item is the JID of the MUC room and the value is used as room
# description.
ejabberd_lobby_muc_rooms: {
"[email protected]": {
"description": "0 A.D. Multiplayer Lobby"
},
"[email protected]": {
"description": "Room for moderators"
}
}