This commit moves a huge chunk of the code to go. The TODO.md document indicates what is left to be done.
19 lines
386 B
Go
19 lines
386 B
Go
package env
|
|
|
|
import "github.com/FAU-CDI/wisski-distillery/internal/stack"
|
|
|
|
func (dis *Distillery) WebStack() stack.Installable {
|
|
return dis.asCoreStack(stack.Installable{
|
|
Stack: stack.Stack{
|
|
Name: "web",
|
|
},
|
|
|
|
EnvFileContext: map[string]string{
|
|
"DEFAULT_HOST": dis.Config.DefaultDomain,
|
|
},
|
|
})
|
|
}
|
|
|
|
func (dis *Distillery) WebStackPath() string {
|
|
return dis.WebStack().Dir
|
|
}
|