Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create docker-compose utils #10

Open
mrrobot47 opened this issue Aug 6, 2018 · 0 comments
Open

Create docker-compose utils #10

mrrobot47 opened this issue Aug 6, 2018 · 0 comments

Comments

@mrrobot47
Copy link
Member

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant