diff options
Diffstat (limited to 'templates/onionbalance/config.yaml.erb')
-rw-r--r-- | templates/onionbalance/config.yaml.erb | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/templates/onionbalance/config.yaml.erb b/templates/onionbalance/config.yaml.erb new file mode 100644 index 0000000..b1d4d80 --- /dev/null +++ b/templates/onionbalance/config.yaml.erb @@ -0,0 +1,10 @@ +# OnionBalance Config File +services: +<% @services.keys.sort.each do |key| -%> + - key: /etc/onionbalance/<%= key %>.key + instances: +<% (@services[key].keys - ['_key_content']).sort.each do |inst| -%> + - address: <%= @services[key][inst] %> + name: <%= inst %> +<% end -%> +<% end -%> |