bundlewrap/nodes/voc/pretalx.py

77 lines
2.4 KiB
Python
Raw Normal View History

# Add-On for pretalx vm hosted at c3voc.
# c3voc ansible only takes care of the basic things, this node only
# does the things ansible does *not* do.
nodes['voc.pretalx'] = {
'hostname': 'pretalx.c3voc.de',
'bundles': {
'c3voc-addons',
2021-01-16 21:04:03 +00:00
'pretalx',
2021-01-17 06:36:57 +00:00
'postfix',
'postgresql',
'redis',
2021-01-16 21:14:34 +00:00
'sshmon',
},
'metadata': {
'apt': {
# Move patchday to somewhere where the possibility of
# clashing with actual events is less likely.
'unattended_upgrades': {
'day': 1,
},
},
'interfaces': {
'default': {
'ips': {
'31.172.33.105/28',
'2a01:a700:48d1::105/64',
},
'gateway4': '31.172.33.110',
'gateway6': '2a01:a700:48d1::1',
},
},
'icinga_options': {
'pretty_name': 'pretalx.c3voc.de',
},
'nginx': {
'vhosts': {
'pretalx': {
'domain': 'pretalx.c3voc.de',
# pretalx limits this to 10M per file, too
'max_body_size': '100M',
2021-01-16 21:04:03 +00:00
'extras': True,
'website_check_path': '/orga/login/',
'website_check_string': ':: pretalx',
},
},
},
2021-01-16 21:04:03 +00:00
'pretalx': {
'version': 'v2.3.0',
2021-01-16 21:04:03 +00:00
'domain': 'pretalx.c3voc.de',
'mail_from': 'pretalx@c3voc.de',
'administrators-from-group-id': 1,
'plugins': {
'downstream': {
'repo': 'https://github.com/Kunsi/pretalx-downstream.git',
#'repo': 'https://github.com/pretalx/pretalx-downstream.git', FIXME
},
'broadcast_tools': {
'repo': 'https://github.com/Kunsi/pretalx-plugin-broadcast-tools.git',
'rev': 'rc3-2021', # TODO remove after rc3
#'rev': '0.2.0',
},
'media.ccc.de': {
'repo': 'https://github.com/pretalx/pretalx-media-ccc-de.git',
},
},
2021-01-16 21:04:03 +00:00
},
2021-01-17 06:36:57 +00:00
'postfix': {
'myhostname': 'pretalx.c3voc.de',
'relayhost': 'mng.c3voc.de',
},
},
2021-01-23 10:33:04 +00:00
'os': 'debian',
2021-05-23 12:54:24 +00:00
'os_version': (10,),
'pip_command': 'pip3',
}