bundlewrap/nodes/voc/pretalx.py

87 lines
2.8 KiB
Python

# 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': {
'backup-client',
'check-mail-received',
'c3voc-addons',
'nodejs',
'pretalx',
'postfix',
'postgresql',
'redis',
'sshmon',
},
'metadata': {
'backup-client': {
'target': 'htz-hel.backup-kunsi',
},
'check-mail-received': {
't-online': {
'email': 'franzi.kunsmann@t-online.de',
'imap_host': 'secureimap.t-online.de',
'imap_pass': bwpass.attr('t-online.de/franzi.kunsmann@t-online.de', 'imap'),
},
},
'interfaces': {
'default': {
'ips': {
'31.172.33.105/28',
'2a01:a700:48d1::105/64',
},
'gateway4': '31.172.33.110',
'gateway6': '2a01:a700:48d1::1',
},
},
'nginx': {
'vhosts': {
'pretalx': {
'domain': 'pretalx.c3voc.de',
# pretalx limits this to 10M per file, too
'max_body_size': '100M',
'extras': True,
'website_check_path': '/orga/login/',
'website_check_string': ':: pretalx',
},
},
},
'pretalx': {
# 2023.3.1 with some bugfixes
'version': '05e377398cecdd45d3ca6013040c5857bbe225d6',
'domain': 'pretalx.c3voc.de',
'mail_from': 'pretalx@c3voc.de',
'administrators-from-group-id': 1,
'plugins': {
'broadcast_tools': {
'repo': 'https://github.com/Kunsi/pretalx-plugin-broadcast-tools.git',
'rev': '2.4.0',
},
'downstream': {
'repo': 'https://github.com/pretalx/pretalx-downstream.git',
'rev': 'main',
},
'halfnarp': {
'repo': 'https://github.com/seibert-media/pretalx-halfnarp.git',
'rev': '1.1.2',
},
'media.ccc.de': {
'repo': 'https://github.com/pretalx/pretalx-media-ccc-de.git',
'rev': 'main',
},
},
},
'postfix': {
'myhostname': 'pretalx.c3voc.de',
'relayhost': 'mng.c3voc.de',
},
'postgresql': {
'version': '13',
},
},
'os': 'debian',
'os_version': (12,),
'pip_command': 'pip3',
}