diff --git a/pkg/config/app.go b/pkg/config/app.go index c59f2f6e..3f66bad7 100644 --- a/pkg/config/app.go +++ b/pkg/config/app.go @@ -288,7 +288,13 @@ func TemplateAppEnvSample(recipeName, appName, server, domain string) error { return err } - if err := tpl.Execute(file, struct{ Name string }{recipeName}); err != nil { + type templateVars struct { + Name string + Domain string + } + + tvars := templateVars{Name: recipeName, Domain: domain} + if err := tpl.Execute(file, tvars); err != nil { return err }