This commit cleans up the internal stack API to prepare it for an eventual move to using a native docker client.
15 lines
349 B
Go
15 lines
349 B
Go
package env
|
|
|
|
import "github.com/FAU-CDI/wisski-distillery/internal/stack"
|
|
|
|
func (dis *Distillery) WebStack() stack.Installable {
|
|
return dis.asCoreStack("web", stack.Installable{
|
|
EnvFileContext: map[string]string{
|
|
"DEFAULT_HOST": dis.Config.DefaultDomain,
|
|
},
|
|
})
|
|
}
|
|
|
|
func (dis *Distillery) WebStackPath() string {
|
|
return dis.WebStack().Dir
|
|
}
|