fork 0k-charms
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

21 lines
471 B

#!/bin/bash
set -e
secret=$(options-get secret) || exit 1
support_email=$(options-get support_email) || exit 1
allowed_emails=$(options-get allowed_emails) || true
if [[ -z "$allowed_emails" ]]; then
allowed_emails=*
fi
init-config-add "\
$MASTER_BASE_SERVICE_NAME:
environment:
SECRET_PASSWORD: \"$secret\"
SUPPORT_EMAIL: \"$support_email\"
ALLOWED_EMAILS: \"$allowed_emails\"
NEXT_PUBLIC_BASE_URL: http://localhost:8082/
"