Sha256: fc633fe4266bf6fe7263dbdcf6b5c7d6cba8bc7ace272a7dd77ef50694431779

Contents?: true

Size: 936 Bytes

Versions: 24

Compression:

Stored size: 936 Bytes

Contents

<% if compose.call('development').services.key?('rabbitmq') %>
development:
  url: <%= "#{'<' + '%' + '='} ENV.fetch('RABBITMQ_URL', 'amqp://127.0.0.1:#{compose.call('development').local_port('rabbitmq', 5672)}') #{'%' + '>'}" %>
  management_url: <%= "#{'<' + '%' + '='} ENV.fetch('RABBITMQ_MANAGEMENT_URL', 'http://guest:guest@127.0.0.1:#{compose.call('development').local_port('rabbitmq', 15672)}') #{'%' + '>'}" %>
<% end %>

<% if compose.call('test').services.key?('rabbitmq') %>
test:
  url: <%= "#{'<' + '%' + '='} ENV.fetch('RABBITMQ_URL', 'amqp://127.0.0.1:#{compose.call('test').local_port('rabbitmq', 5672)}') #{'%' + '>'}" %>
  management_url: <%= "#{'<' + '%' + '='} ENV.fetch('RABBITMQ_MANAGEMENT_URL', 'http://guest:guest@127.0.0.1:#{compose.call('test').local_port('rabbitmq', 15672)}') #{'%' + '>'}" %>
<% end %>

production:
  url: <%%= ENV['RABBITMQ_URL'] %>
  management_url: <%%= ENV['RABBITMQ_MANAGEMENT_URL'] %>

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
orchestration-0.7.15 lib/orchestration/templates/rabbitmq.yml.erb
orchestration-0.6.16 lib/orchestration/templates/rabbitmq.yml.erb
orchestration-0.7.14 lib/orchestration/templates/rabbitmq.yml.erb
orchestration-0.7.13 lib/orchestration/templates/rabbitmq.yml.erb
orchestration-0.6.15 lib/orchestration/templates/rabbitmq.yml.erb
orchestration-0.7.12 lib/orchestration/templates/rabbitmq.yml.erb
orchestration-0.6.14 lib/orchestration/templates/rabbitmq.yml.erb
orchestration-0.7.11 lib/orchestration/templates/rabbitmq.yml.erb
orchestration-0.6.13 lib/orchestration/templates/rabbitmq.yml.erb
orchestration-0.7.10 lib/orchestration/templates/rabbitmq.yml.erb
orchestration-0.7.9 lib/orchestration/templates/rabbitmq.yml.erb
orchestration-0.6.12 lib/orchestration/templates/rabbitmq.yml.erb
orchestration-0.7.8 lib/orchestration/templates/rabbitmq.yml.erb
orchestration-0.6.11 lib/orchestration/templates/rabbitmq.yml.erb
orchestration-0.7.6 lib/orchestration/templates/rabbitmq.yml.erb
orchestration-0.6.10 lib/orchestration/templates/rabbitmq.yml.erb
orchestration-0.7.5 lib/orchestration/templates/rabbitmq.yml.erb
orchestration-0.7.4 lib/orchestration/templates/rabbitmq.yml.erb
orchestration-0.6.9 lib/orchestration/templates/rabbitmq.yml.erb
orchestration-0.6.8 lib/orchestration/templates/rabbitmq.yml.erb