EasyEngine / EasyEngine/site-type-wp

Create docker-compose utils

Open
#10 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
PHP
Stars
12
Forks
15
PR merge metrics
No merged PRs in 30d

Description

There is repeatability in the array appending in `Site_WP_Docker.php`. To reduce this as well and make it re-usable for packages, we can possibly create a new site-docker-compose-utils. Create a function for say postfix and assign EE\SiteUtils\get_postfix_array() and append it to the main array going for mustaching.

Similar to postfix, this can be done for the common services like nginx, mailhog, php, db etc and create the utils to get there configs in an array so people can use them as defaults easily. This change would be quite helpful here as well as in current site-command.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.