wisski-cloud-distillery/env/stack_web.go
Tom Wiesing 5d906169f4
internal/stack: Cleanup API
This commit cleans up the internal stack API to prepare it for an
eventual move to using a native docker client.
2022-09-08 14:39:04 +02:00

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
}