Settings - wvuRc2/rc2 GitHub Wiki
Settings
Settings (such as db info) are stored using etcd. etcd server info is found via dns SRV records.
All server projects will take a master srv name to lookup. The default one is config.rc2.io. Looking that up returns the domain name to look for an etcd server on. By default, it is configured to return config.rc2.local. This should be setup to point to the etcd used in your rc2 cluster. We do this by using a local dns forwarding server. You can also edit /etc/hosts on all the servers.
Key/Value tree
There are top level paths for dev and deploy. The following keys are required:
| Key | Notes |
|---|---|
| dbhost | |
| dbuser | |
| dbname | |
| dbpass | optional. ideally should be by host-based access |
| rcompute-host | the host running the rc2compute server |