lib/templates/docker-compose.yml.erb in dockersitter-0.1.0 vs lib/templates/docker-compose.yml.erb in dockersitter-0.2.0

- old
+ new

@@ -1,14 +1,14 @@ app: - <%if options[:image]%>image: <%=options[:image]%> <%else%>build: .<%end%> + <%if options[:base]%>image: <%=options[:base]%> <%else%>build: .<%end%> volumes_from: - appdata environment: VIRTUAL_HOST: <%=@app_name%>.rene-richter.de <%options[:env].each do | var |%><%=var.gsub('=',': ')%> <%end%> appdata: - <%if options[:image]%>image: <%=options[:image]%> <%else%>build: .<%end%> + <%if options[:base]%>image: <%=options[:base]%> <%else%>build: .<%end%> volumes: <%options[:volumes].each do |volume|-%> - <%=volume%> <%end-%> command: /bin/echo datacontainer