lib/templates/docker-compose.yml.erb in dockersitter-0.2.2 vs lib/templates/docker-compose.yml.erb in dockersitter-0.3.0
- old
+ new
@@ -1,10 +1,10 @@
app:
<%if options[:base]%>image: <%=options[:base]%> <%else%>build: .<%end%>
volumes_from:
- appdata
environment:
- VIRTUAL_HOST: <%=@app_name%>.rene-richter.de
+ VIRTUAL_HOST: <%=@domain%>
<%options[:env].each do | var |%><%=var.gsub('=',': ')%>
<%end%>
appdata:
<%if options[:base]%>image: <%=options[:base]%> <%else%>build: .<%end%>
volumes: