component/web: Add 'HTTPSMETHOD'

This commit sets the 'HTTPSMETHOD' variable on the 'web' component for
when https is or is not enabled.
This commit is contained in:
Tom Wiesing 2022-09-11 13:04:15 +02:00
parent e1ee569629
commit 2ee90bf462
No known key found for this signature in database
4 changed files with 11 additions and 3 deletions

View file

@ -55,9 +55,9 @@ func (ds Stack) Update(io stream.IOStream, start bool) error {
var errStackUp = errors.New("Stack.Up: Up returned non-zero exit code")
// Up creates and starts the containers in this Stack.
// It is equivalent to 'docker compose up -d' on the shell.
// It is equivalent to 'docker compose up --remove-orphans --detach' on the shell.
func (ds Stack) Up(io stream.IOStream) error {
code, err := ds.compose(io, "up", "-d")
code, err := ds.compose(io, "up", "--remove-orphans", "--detach")
if err != nil {
return err
}