bundlewrap/nodes/voc/infobeamer-cms.py

56 lines
2.3 KiB
Python
Raw Normal View History

2021-12-23 12:48:44 +00:00
nodes['voc.infobeamer-cms'] = {
'hostname': 'infobeamer-cms.c3voc.de',
2021-12-23 12:48:44 +00:00
'bundles': {
'infobeamer-cms',
'redis',
},
'groups': {
'debian-bullseye',
2021-12-23 12:48:44 +00:00
'webserver',
},
'metadata': {
'backups': {
'exclude_from_backups': True,
},
'interfaces': {
'ens18': {
2021-12-23 12:48:44 +00:00
'ips': {
'185.106.84.31/26',
'2001:67c:20a0:e::31/64',
2021-12-23 12:48:44 +00:00
},
'gateway4': '185.106.84.1',
'gateway6': '2001:67c:20a0:e::1',
2021-12-23 12:48:44 +00:00
},
},
'icinga_options': {
'pretty_name': 'infobeamer-cms.c3voc.de',
},
2022-03-20 11:35:00 +00:00
'infobeamer-cms': {
'domain': 'infobeamer-cms.c3voc.de',
2022-05-07 16:38:37 +00:00
'event_start_date': '2022-05-18',
2022-03-20 11:35:00 +00:00
'config': {
2022-03-20 12:37:25 +00:00
'ADMIN_USERS': [
'kunsi',
'sophieschi',
2022-05-16 12:37:35 +00:00
# GPN20
'hexchen',
'twiddau',
2022-03-20 12:37:25 +00:00
],
2022-03-20 11:35:00 +00:00
'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'),
'MQTT_MESSAGE': '{{"level":"info","component":"infobeamer-cms","msg":"{asset} uploaded by {user}. Check it at {url}"}}',
'MQTT_PASSWORD': vault.decrypt('encrypt$gAAAAABhxakfhhwWn0vxhoO1FiMEpdCkomWvo0dHIuBrqDKav8WDpI6dXpb0hoXiWRsPV6p5m-8RlbfFbjPhz47AY-nFOOAAW6Yis3-IVD-U-InKJo9dvms='),
'MQTT_SERVER': 'mqtt.c3voc.de',
'MQTT_TOPIC': '/voc/alert',
'MQTT_USERNAME': vault.decrypt('encrypt$gAAAAABhxakKHC_kHmHP2mFHorb4niuNTH4F24w1D6m5JUxl117N7znlZA6fpMmY3_NcmBr2Ihw4hL3FjZr9Fm_1oUZ1ZQdADA=='),
2022-05-07 16:38:37 +00:00
'SETUP_IDS': [230384],
2022-03-20 11:35:00 +00:00
},
'rooms': {
'infobeamer stream': 23541,
},
},
2021-12-23 12:48:44 +00:00
},
}