Skip to content

Commit

Permalink
Fix #21: Fix extra docker-compose to always have correct hostname.
Browse files Browse the repository at this point in the history
  • Loading branch information
FlorentTorregrosa committed Dec 12, 2023
1 parent d2d1fb5 commit 111d7dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion install.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ post_install_actions:
{{ $project_tld := "ddev.site" }}
{{ if .DdevGlobalConfig.project_tld }}{{ $project_tld = .DdevGlobalConfig.project_tld }}{{ end }}
{{ if .DdevProjectConfig.project_tld }}{{ $project_tld = .DdevProjectConfig.project_tld }} {{ end }}
{{ $novarnish_hostnames := print "novarnish." .DdevProjectConfig.name "." $project_tld }}
{{ $novarnish_hostnames := print "novarnish.$DDEV_HOSTNAME" }}
{{ $sep := print "." $project_tld ",novarnish." }}
{{ if .DdevProjectConfig.additional_hostnames }}
{{ $novarnish_hostnames = print $novarnish_hostnames "," "novarnish." (.DdevProjectConfig.additional_hostnames | join $sep) "." $project_tld }}
Expand Down

0 comments on commit 111d7dc

Please sign in to comment.