docker/mod/webhooks/entrypoint.sh
chandi c740f55e5a v3.0.0-beta.5: basic working functionality
quite some features (recording, SIP, transcription, etc.) are not working yet, but a milestone where it should finally take a commit
2024-11-24 16:30:49 +01:00

18 lines
396 B
Bash
Executable File

#!/bin/sh
set -e
TARGET=/bbb-webhooks/config/production.yml
cp /bbb-webhooks/config/default.example.yml $TARGET
yq e -i ".hooks.getRaw = false" $TARGET
yq e -i '.modules."../out/webhooks/index.js".config.getRaw = false' $TARGET
export NODE_ENV=production
export REDIS_HOST=redis
export SERVER_DOMAIN=$DOMAIN
export BEARER_AUTH=true
export SERVER_BIND_IP=0.0.0.0
cd /bbb-webhooks
node app.js