diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/docker_distribution/registry_config.yml.erb | 11 | ||||
-rw-r--r-- | templates/ui/tripleo_ui_config.js.erb | 31 |
2 files changed, 32 insertions, 10 deletions
diff --git a/templates/docker_distribution/registry_config.yml.erb b/templates/docker_distribution/registry_config.yml.erb new file mode 100644 index 0000000..d5228fb --- /dev/null +++ b/templates/docker_distribution/registry_config.yml.erb @@ -0,0 +1,11 @@ +version: 0.1 +log: + fields: + service: registry +storage: + cache: + layerinfo: inmemory + filesystem: + rootdirectory: /var/lib/registry +http: + addr: <%= @registry_host %>:<%= @registry_port %> diff --git a/templates/ui/tripleo_ui_config.js.erb b/templates/ui/tripleo_ui_config.js.erb index fef8afb..c984cc3 100644 --- a/templates/ui/tripleo_ui_config.js.erb +++ b/templates/ui/tripleo_ui_config.js.erb @@ -1,14 +1,25 @@ window.tripleOUiConfig = { - "keystone": "<%= @keystone_url %>", - - // The UI automatically discovers below URLs by querying keystone but can be - // changed here if desired. - //"heat": "<%= @heat_url %>", - //"ironic": "<%= @ironic_url %>", - //"mistral": "<%= @mistral_url %>", - //"swift": "<%= @swift_url %>", - //"zaqar-websocket": "<%= @zaqar_websocket_url %>", + // Service URLs (defaults to UI host) + // + // A valid Keystone service URL is required. The other endpoints + // will then be obtained automatically from the Keystone catalog. + // + 'keystone': '<%= @endpoint_config_keystone %>', + 'heat': '<%= @endpoint_config_heat %>', + 'ironic': '<%= @endpoint_config_ironic %>', + 'mistral': '<%= @endpoint_config_mistral %>', + 'swift': '<%= @endpoint_config_swift %>', + 'zaqar-websocket': '<%= @endpoint_config_zaqar %>', // Default websocket queue name - "zaqar_default_queue": "<%= @zaqar_default_queue %>" + 'zaqar_default_queue': '<%= @zaqar_default_queue %>', + + // Languages + // If you choose more than one language, a language switcher will appear in + // the navigation bar. + // Only 'en' (English) is enabled by default. + 'languages': ['<%= @enabled_languages.join("', '") %>'], + + // Logging + // 'loggers': ['console'] }; |