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

Errors on building #1

Open
LockeAG opened this issue Feb 17, 2022 · 1 comment
Open

Errors on building #1

LockeAG opened this issue Feb 17, 2022 · 1 comment

Comments

@LockeAG
Copy link

LockeAG commented Feb 17, 2022

Thank for sharing, this is a great project for local environment.

Just there are some errors on extra_host in WordPress directives on docker-compose.yml. I think this should be different or should not be in there, because you will get: Error response from daemon: invalid IP address in add-host: "nginx"

Also, I recommend having in hand wp-config and upload.

thank again!

@kalebheitzman
Copy link
Contributor

Hey @LockeAG thanks for pointing those out. I ended up adding a static IP to the Nginx service in order to deal with the loopback error that shows up under Site Health. The extra_host directive is no longer needed. I've opted against mounting the upload folder because you can backup and restore the wp_data and db_data volumes across different environments using the scripts provided.

What do you see as the advantage of having the wp-config.php file mounted vs using the built in file that you can customize from the docker service?

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

2 participants