bundles/infobeamer-cms: adjust config to new version
All checks were successful
kunsi/bundlewrap/pipeline/head This commit looks good

This commit is contained in:
Franzi 2021-12-24 12:17:14 +01:00
parent ba294f6a6c
commit 7dc584d8cb
Signed by: kunsi
GPG key ID: 12E3D2136B818350
3 changed files with 24 additions and 7 deletions

View file

@ -7,4 +7,4 @@ Requires=infobeamer-cms.service
User=infobeamer-cms
Group=infobeamer-cms
WorkingDirectory=/opt/infobeamer-cms
ExecStart=curl http://127.0.0.1:8000/sync
ExecStart=curl -H "Host: infobeamer-cms.c3voc.de" http://127.0.0.1:8000/sync

View file

@ -29,10 +29,12 @@ SETUP_IDS = ${SETUP_IDS}
# urls send to moderators.
URL_KEY = b'${URL_KEY}'
# Push notifications for moderation requests user pushover.
# Specify a target key and the app key to use.
PUSHOVER_TARGET = '${PUSHOVER_TARGET}'
PUSHOVER_APP_KEY = '${PUSHOVER_APP_KEY}'
# Push notifications for moderation requests to an mqtt server.
MQTT_SERVER = 'mqtt.c3voc.de'
MQTT_USERNAME = '${MQTT_USERNAME}'
MQTT_PASSWORD = '${MQTT_PASSWORD}'
MQTT_TOPIC = '/voc/alert'
MQTT_MESSAGE = '{{"level":"info","component":"infobeamer-cms","msg":"{asset} uploaded by {user}. Check it at {url}"}}'
# Unix timestamp allows for specifying start/end time
# of uploaded content
@ -42,6 +44,21 @@ TIME_MAX = ${TIME_MAX}
# change this to invalidate cached static files.
VERSION = ${VERSION}
# extra assets. If this is empty, only the uploaded content and a notice
# on where to find the CMS will be shown. You can use this to overlay
# content on top of that content.
EXTRA_ASSETS = [
{
"type": "image",
"asset": 828107, # fairydust
# bottom left, 10px from border
"x1":10,
"y1":1070-66,
"x2":10+100,
"y2":1070,
}
]
# rooms. This is both used for the /last view as well
# as the interruption control on /interrupt.
ROOMS = ${dumps(node.metadata.get('infobeamer-cms/config/ROOMS', {}))}