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

  1. #!/bin/bash
  2. set -e
  3. secret=$(options-get secret) || exit 1
  4. support_email=$(options-get support_email) || exit 1
  5. allowed_emails=$(options-get allowed_emails) || true
  6. if [[ -z "$allowed_emails" ]]; then
  7. allowed_emails=*
  8. fi
  9. init-config-add "\
  10. $MASTER_BASE_SERVICE_NAME:
  11. environment:
  12. SECRET_PASSWORD: \"$secret\"
  13. SUPPORT_EMAIL: \"$support_email\"
  14. ALLOWED_EMAILS: \"$allowed_emails\"
  15. NEXT_PUBLIC_BASE_URL: http://localhost:8082/
  16. "