124 lines
5.9 KiB
Python
124 lines
5.9 KiB
Python
nodes['voc.infobeamer-cms'] = {
|
|
'hostname': 'infobeamer.c3voc.de',
|
|
'bundles': {
|
|
'infobeamer-cms',
|
|
'infobeamer-monitor',
|
|
'redis',
|
|
},
|
|
'groups': {
|
|
'debian-bookworm',
|
|
'webserver',
|
|
},
|
|
'metadata': {
|
|
'backups': {
|
|
'exclude_from_backups': True,
|
|
},
|
|
'interfaces': {
|
|
'ens18': {
|
|
'ips': {
|
|
'185.106.84.31/26',
|
|
'2001:67c:20a0:e::31/64',
|
|
},
|
|
'gateway4': '185.106.84.1',
|
|
'gateway6': '2001:67c:20a0:e::1',
|
|
},
|
|
},
|
|
'infobeamer-cms': {
|
|
'domain': 'infobeamer.c3voc.de',
|
|
'event_start_date': '2024-12-26',
|
|
'event_duration_days': 5,
|
|
'config': {
|
|
'ADMIN_USERS': [
|
|
'evilscientress',
|
|
'hexchen',
|
|
'jbeyerstedt',
|
|
'jwacalex',
|
|
'kunsi',
|
|
'sophieschi',
|
|
'v0tti',
|
|
],
|
|
'NO_LIMIT_USERS': [
|
|
'stblassitude',
|
|
],
|
|
'GITHUB_CLIENT_ID': vault.decrypt('encrypt$gAAAAABiNwHfIu9PYFfJrF7qirn_9vdvvUlEhJnadoNSS5XlCDbI_aMyj21_ZYQxaCkc6_eVX6Cj1jEHZ7Vs6wM-XyQdW0nUOahtqG4uvnYCiM3GFKHW_wQ='),
|
|
'GITHUB_CLIENT_SECRET': vault.decrypt('encrypt$gAAAAABiNwHtdZC2XQ8IjosL7vsmrxZMwDIM6AD5dUlLo996tJs4qV7KJETHgYYZil2aMzClwhcE6JmxdhARRp7IJQ4rQQibelTNmyYSzj_V4puVpvma7SU0UZkTIG95SdPpoHY--Zba'),
|
|
'HOSTED_API_KEY': vault.decrypt('encrypt$gAAAAABhxJPH2sIGMAibU2Us1HoCVlNfF0SQQnVl0eiod48Zu8webL_-xk3wDw3yXw1Hkglj-2usl-D3Yd095yTSq0vZMCv2fh-JWwSPdJewQ45x9Ai4vXVD4CNz5vuJBESKS9xQWXTc'),
|
|
'INTERRUPT_KEY': vault.human_password_for('infobeamer-cms interrupt key 38c3', words=1),
|
|
'SETUP_IDS': [
|
|
255228,
|
|
],
|
|
# 'EXTRA_ASSETS': [{
|
|
# 'type': "image",
|
|
# 'asset': 1316000,
|
|
# # bottom left, 10px from border
|
|
# 'x1': 10,
|
|
# 'y1': 970,
|
|
# 'x2': 110,
|
|
# 'y2': 1070,
|
|
# }],
|
|
'NOTIFIER': {
|
|
'MQTT_PASSWORD': vault.decrypt('encrypt$gAAAAABhxakfhhwWn0vxhoO1FiMEpdCkomWvo0dHIuBrqDKav8WDpI6dXpb0hoXiWRsPV6p5m-8RlbfFbjPhz47AY-nFOOAAW6Yis3-IVD-U-InKJo9dvms='),
|
|
'MQTT_HOST': 'mqtt.c3voc.de',
|
|
'MQTT_TOPIC': '/voc/alert',
|
|
'MQTT_USERNAME': vault.decrypt('encrypt$gAAAAABhxakKHC_kHmHP2mFHorb4niuNTH4F24w1D6m5JUxl117N7znlZA6fpMmY3_NcmBr2Ihw4hL3FjZr9Fm_1oUZ1ZQdADA=='),
|
|
'NTFY': [
|
|
vault.decrypt('encrypt$gAAAAABm_RXKqIgRfe24frA_uvUMwJECr0TmL6TWPOmrPlS0CJuuBlpN6vGHrMkm5pjD5c5h1brC-aqQavsTk_AHXwq8bHG1QiZtQwqPxGuD_fEVP4-xOZ3t-RjqG3kPLz6ebqPoqyPl'),
|
|
],
|
|
},
|
|
'FAQ': {
|
|
'SOURCE': 'https://github.com/voc/infobeamer-cms',
|
|
'CONTACT': '''
|
|
Please use the <a href="https://chat.hackint.org/?join=infobeamer">IRC
|
|
Channel #infobeamer on irc.hackint.org</a> (also
|
|
<a href="https://www.hackint.org/transport/matrix">bridged to matrix</a>)
|
|
or #info-beamer on the cccv rocketchat instance.
|
|
'''.strip(),
|
|
},
|
|
},
|
|
'rooms': {
|
|
'Saal 1': 34430, # s1
|
|
'Saal GLITCH': 37731, # s2
|
|
'Saal ZIGZAG': 26610, # s3
|
|
'Sendezentrum': 38641, # s4
|
|
'Stage YELL': 38642, # s5
|
|
'Stage HUFF': 35042, # s6
|
|
},
|
|
'interrupts': {
|
|
'Questions': 'questions',
|
|
'Translations': 'translations',
|
|
},
|
|
},
|
|
'infobeamer-monitor': {
|
|
'api_key': vault.decrypt('encrypt$gAAAAABlitmDR1duKo_4KuMJBF_HbPO2GFo_gdoT1rvUKQ2kkugPbe2RljM4bxW5bmwhs5avjxiaSAvjnOBte9ioyPEr7cIh79WFEfMnsHeexlCHwMt6NV_t-8EAhuuEQEf3Py93g8zQ'),
|
|
'mqtt': {
|
|
'password': vault.decrypt('encrypt$gAAAAABhxakfhhwWn0vxhoO1FiMEpdCkomWvo0dHIuBrqDKav8WDpI6dXpb0hoXiWRsPV6p5m-8RlbfFbjPhz47AY-nFOOAAW6Yis3-IVD-U-InKJo9dvms='),
|
|
'host': 'mqtt.c3voc.de',
|
|
'topic': '/voc/alert',
|
|
'user': vault.decrypt('encrypt$gAAAAABhxakKHC_kHmHP2mFHorb4niuNTH4F24w1D6m5JUxl117N7znlZA6fpMmY3_NcmBr2Ihw4hL3FjZr9Fm_1oUZ1ZQdADA=='),
|
|
},
|
|
},
|
|
'nginx': {
|
|
'vhosts': {
|
|
'redirect': {
|
|
'domain': 'infobeamer-cms.c3voc.de',
|
|
'locations': {
|
|
'/': {
|
|
'redirect': 'https://infobeamer.c3voc.de',
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
'users': {
|
|
'hexchen': {
|
|
'ssh_pubkey': {
|
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINJ0tCxsEilAzV6LaNpUpcjzyEn4ptw8kFz3R+Z3YjEF",
|
|
"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDI3T1eFS77URHZ/HVWkMOqx7W1U54zJtn9C7QWsHOtyH72i/4EVj8SxYqLllElh1kuKUXSUipPeEzVsipFVvfH0wEuTDgFffiSQ3a8lfUgdEBuoySwceEoPgc5deapkOmiDIDeeWlrRe3nqspLRrSWU1DirMxoFPbwqJXRvpl6qJPxRg+2IolDcXlZ6yxB4Vv48vzRfVzZNUz7Pjmy2ebU8PbDoFWL/S3m7yOzQpv3L7KYBz7+rkjuF3AU2vy6CAfIySkVpspZZLtkTGCIJF228ev0e8NvhuN6ZnjzXxVTQOy32HCdPdbBbicu0uHfZ5O7JX9DjGd8kk1r2dnZwwy/",
|
|
"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC4CLJ+mFfq5XiBXROKewmN9WYmj+79bj/AoaR6Iud2pirulot3tkrrLe2cMjiNWFX8CGVqrsAELKUA8EyUTJfStlcTE0/QNESTRmdDaC+lZL41pWUO9KOiD6/0axAhHXrSJ0ScvbqtD0CtpnCKKxtuOflVPoUGZsH9cLKJNRKfEka0H0GgeKb5Tp618R/WNAQOwaCcXzg/nG4Bgv3gJW4Nm9IKy/MwRZqtILi8Mtd+2diTqpMwyNRmbenmRHCQ1vRw46joYkledVqrmSlfSMFgIHI1zRSBXb/JkG2IvIyB5TGbTkC4N2fqJNpH8wnCKuOvs46xmgdiRA26P48C2em3",
|
|
},
|
|
'sudo_commands': {'ALL'},
|
|
},
|
|
'sophie': {},
|
|
},
|
|
},
|
|
}
|