MCPcopy Create free account
hub / github.com/nhost/nhost / mountCACertificates

Function mountCACertificates

cli/dockercompose/compose.go:755–767  ·  view source on GitHub ↗
(
	path string,
	services map[string]*Service,
)

Source from the content-addressed store, hash-verified

753}
754
755func 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
769func ComposeFileFromConfig( //nolint:funlen
770 cfg *model.ConfigConfig,

Callers 2

ComposeFileFromConfigFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected