More documentation

This commit is contained in:
2021-11-30 15:45:36 +01:00
parent e18a797504
commit b586b1eac8
5 changed files with 31 additions and 16 deletions

View File

@@ -32,6 +32,8 @@ func main() {
for name, s := range p.Data.Services {
wait.Add(1)
// it's mandatory to make the build in goroutines because some dependencies can
// wait for a port number. So the entire services are built in parallel.
go func(name string, s compose.Service) {
o := generator.CreateReplicaObject(name, s)
files[name] = o