-
-
Save ianpward/90504955aabc0f39c0eab45ecbdb859f to your computer and use it in GitHub Desktop.
Config file for Realm Data Adapter
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module.exports = { | |
// Database name | |
database_name: "<INSERT_PG_DATABASE_NAME>", | |
// Realm Object Server URL | |
realm_object_server_url: "realm://<IP_OR_DNS_OF_ROS>:9080", | |
auth_server_url: "http://<IP_OR_DNS_OF_ROS>:9080", | |
feature_token: "<FEATURE_TOKEN>", | |
// Admin token used to talk to ROS - get from ROS output | |
admin_user_token: "<ADMIN_TOKEN>", | |
admin_username: "<ADMIN_USER>", | |
admin_password: "<ADMIN_USER_PASSWORD>", | |
// The synced Realm path for the data ie. '/myRealm' | |
target_realm_path: '<URI_OF_REALM>', | |
// Postgres config used for all connections - replace with your data | |
postgres_config: { | |
host: '<POSTGRES_SERVER_IP>', | |
port: 5432, | |
user: '<POSTGRES_USER>', | |
password: '<POSTGRES_PASSWORD>' | |
}, | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment