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

Problems when creating a second WordPress #24

Closed
GoldraK opened this issue Oct 6, 2018 · 2 comments
Closed

Problems when creating a second WordPress #24

GoldraK opened this issue Oct 6, 2018 · 2 comments

Comments

@GoldraK
Copy link

GoldraK commented Oct 6, 2018

Hello,
I have created another WordPress on the same machine and it is well generated and I have both installed, but randomly the first wordpress loses the connection with the database of its docker.

If I deactivate the second wordpress, the first works perfectly.

Thanks for the help.

@evertramos
Copy link
Owner

evertramos commented Oct 6, 2018

Please update the service name on both environment and start it over.

Update:

  1. Here - https://github.com/evertramos/docker-wordpress-letsencrypt/blob/4d44f5eb7a587416ed35e2147fee06511bad1f12/docker-compose.yml#L4

from db to site1-db and in the second file site2-db

  1. And here - https://github.com/evertramos/docker-wordpress-letsencrypt/blob/4d44f5eb7a587416ed35e2147fee06511bad1f12/docker-compose.yml#L16

fron wordpress to site1 and site2

Let me know if it worked!

@GoldraK
Copy link
Author

GoldraK commented Oct 6, 2018

Thanks work perfect now :)

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