Sha256: ff3faacb8ab17975aa3015a50db3aa95e1fea6072bf71a51e66d6638d4f13f49

Contents?: true

Size: 444 Bytes

Versions: 13

Compression:

Stored size: 444 Bytes

Contents

<% if compose.call('development').services.key?('redis') %>
development:
  url: <%= "#{'<' + '%' + '='} ENV.fetch('REDIS_URL', 'redis://127.0.0.1:#{compose.call('development').local_port('redis', 6379)}') #{'%' + '>'}" %>
<% end %>

<% if compose.call('test').services.key?('redis') %>
test:
  url: <%= "#{'<' + '%' + '='} ENV.fetch('REDIS_URL', 'redis://127.0.0.1:#{compose.call('test').local_port('redis', 6379)}') #{'%' + '>'}" %>
<% end %>

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
orchestration-0.7.15 lib/orchestration/templates/redis.yml.erb
orchestration-0.7.14 lib/orchestration/templates/redis.yml.erb
orchestration-0.7.13 lib/orchestration/templates/redis.yml.erb
orchestration-0.7.12 lib/orchestration/templates/redis.yml.erb
orchestration-0.7.11 lib/orchestration/templates/redis.yml.erb
orchestration-0.7.10 lib/orchestration/templates/redis.yml.erb
orchestration-0.7.9 lib/orchestration/templates/redis.yml.erb
orchestration-0.7.8 lib/orchestration/templates/redis.yml.erb
orchestration-0.7.6 lib/orchestration/templates/redis.yml.erb
orchestration-0.7.5 lib/orchestration/templates/redis.yml.erb
orchestration-0.7.4 lib/orchestration/templates/redis.yml.erb
orchestration-0.7.3 lib/orchestration/templates/redis.yml.erb
orchestration-0.7.2 lib/orchestration/templates/redis.yml.erb