Sha256: 72f6b25f70f0f7183a4a80840fc14b42ffaae9e414d1bbdb6fc21d9ff048da63

Contents?: true

Size: 496 Bytes

Versions: 28

Compression:

Stored size: 496 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')}') #{'%' + '>'}" %>
<% 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')}') #{'%' + '>'}" %>
<% end %>

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

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
orchestration-0.5.12 lib/orchestration/templates/rabbitmq.yml.erb
orchestration-0.5.11 lib/orchestration/templates/rabbitmq.yml.erb
orchestration-0.5.10 lib/orchestration/templates/rabbitmq.yml.erb
orchestration-0.5.9 lib/orchestration/templates/rabbitmq.yml.erb
orchestration-0.5.8 lib/orchestration/templates/rabbitmq.yml.erb
orchestration-0.5.7 lib/orchestration/templates/rabbitmq.yml.erb
orchestration-0.5.6 lib/orchestration/templates/rabbitmq.yml.erb
orchestration-0.5.5 lib/orchestration/templates/rabbitmq.yml.erb
orchestration-0.5.4 lib/orchestration/templates/rabbitmq.yml.erb
orchestration-0.5.3 lib/orchestration/templates/rabbitmq.yml.erb
orchestration-0.5.2 lib/orchestration/templates/rabbitmq.yml.erb
orchestration-0.5.1 lib/orchestration/templates/rabbitmq.yml.erb
orchestration-0.5.0 lib/orchestration/templates/rabbitmq.yml.erb
orchestration-0.4.21 lib/orchestration/templates/rabbitmq.yml.erb
orchestration-0.4.20 lib/orchestration/templates/rabbitmq.yml.erb
orchestration-0.4.19 lib/orchestration/templates/rabbitmq.yml.erb
orchestration-0.4.18 lib/orchestration/templates/rabbitmq.yml.erb
orchestration-0.4.17 lib/orchestration/templates/rabbitmq.yml.erb
orchestration-0.4.16 lib/orchestration/templates/rabbitmq.yml.erb
orchestration-0.4.15 lib/orchestration/templates/rabbitmq.yml.erb