Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
// NginxImage is the image used for sites, with the PHP version
NginxImage = "docker.io/craftcms/nginx:%s-dev"
)
Functions ¶
func StartOrCreate ¶
func StartOrCreate(ctx context.Context, docker client.CommonAPIClient, home, networkID string, site config.Site, cfg *config.Config) (string, error)
StartOrCreate is responsible for finding a sites existing container or creating a new one based on the values from the configuration file.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.