Change initial realm-admin password on ROS start

ros

#1

Hello all,

I’ve been digging around a bit trying to find a way to set up the realm-admin user’s password to be non-empty when I initially start my Realm Object Server? Is this possible with a setting in src/index.ts? Thank you!


#2

@kalex you can set the ROS_DEFAULT_PASSWORD environment variable when you start the server and that will be the admin user’s password


#3

Works like a charm, thank you!


#4

@ianward, a follow-up question, if I may:
Are there other things in ROS configurable through environment variables, and is there documentation for these somewhere that I can access? I’ve been poking around the server/sync documentation most of the afternoon and haven’t found anything, but I can accept it if I’ve been looking in the wrong places :slight_smile: