config/network: Prepare for multiple networks
This commit futures proofs the code to allow for usage of more than one docker network.
This commit is contained in:
parent
db1989a299
commit
e969351f8e
13 changed files with 40 additions and 28 deletions
|
|
@ -43,7 +43,7 @@ func (web *Web) Stack() component.StackWithResources {
|
|||
stack.EnvPath = "web.env"
|
||||
|
||||
stack.EnvContext = map[string]string{
|
||||
"DOCKER_NETWORK_NAME": web.Config.Docker.Network,
|
||||
"DOCKER_NETWORK_NAME": web.Config.Docker.Network(),
|
||||
"CERT_EMAIL": web.Config.HTTP.CertbotEmail,
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue