Is anybody using docker compose for their wordpress website and is willing top help me out?

[ad_1]

Hello!

I settled on using docker for my website due to security concerns and I thought that it would help with portability but it seems to be a nightmare

I want to locally develop my website which I will then transfer over to my AWS instance in order to have my website up and running with no downtime

I started experimenting by using two virtual machines and seeing if the port would be that easy

I thought that it would be as simple as just switching the volumes out between the two instances and using “docker compose up” to take the containers back

But apparently WordPress holds the IP address hardcoded in the database under wp\_options which after I changed still seems to not work and I get redirected to my old IP,seems to only half work on localhost, nevermind what apache might be thinking of the IP address swap.

I wanted to do this so that whenever I wanted to update my website I wouldn’t have to take it down for maintenance and I could just swap out the volumes.

I know that there might be plugins that could help me port over the data but I thought that docker would be the perfect candidate for something like this, yet it seems to have let me down awfully.

Does anybody here run docker compose for their website or tried to do something familiar?If so could you help me out?Thank you.

[ad_2]
1 Comment

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer