templates/docker-compose.yml.erb in schienenzeppelin-0.1 vs templates/docker-compose.yml.erb in schienenzeppelin-0.2
- old
+ new
@@ -8,14 +8,14 @@
- 5432:5432
environment:
POSTGRES_PASSWORD: <%= app_name %>
POSTGRES_USER: <%= app_name %>
- <% unless options[:skip_sidekiq] %>
+ <%-if uses?(:sidekiq) -%>
<%= app_name %>-redis:
image: redis
ports:
- 6379:6379
- <% end %>
+ <%- end -%>
volumes:
<%= app_name %>-data: