#!/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/ "