( path string, services map[string]*Service, )
| 753 | } |
| 754 | |
| 755 | func mountCACertificates( |
| 756 | path string, |
| 757 | services map[string]*Service, |
| 758 | ) { |
| 759 | for _, service := range services { |
| 760 | service.Volumes = append(service.Volumes, Volume{ |
| 761 | Type: "bind", |
| 762 | Source: path, |
| 763 | Target: "/etc/ssl/certs/ca-certificates.crt", |
| 764 | ReadOnly: new(true), |
| 765 | }) |
| 766 | } |
| 767 | } |
| 768 | |
| 769 | func ComposeFileFromConfig( //nolint:funlen |
| 770 | cfg *model.ConfigConfig, |
no outgoing calls
no test coverage detected