diff --git a/README.md b/README.md index a0be2f2..5d43455 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@

- Screenshot + Screenshot

@@ -12,10 +12,24 @@

+

+ + + Screenshot + + +

+

+ + + Screenshot + + +


-

How to efficiently install, host, and maintain lightning fast Wordpress websites inside Docker Desktop.

+

How to efficiently install, host, and maintain lightning fast Wordpress websites inside Docker Desktop on Windows 11


@@ -41,6 +55,14 @@ - **If you are using Cloudflare to host your domain, you NEED to make sure that it's SSL/TLS encryption mode is set to 'Full (strict)'. By default, domains are set to 'Flexible' and you'll get thrown in an infinite loop when you try and go to your website while using a reverse proxy.** +

+ + + Screenshot + + +

+ - **For these instructions we'll be using the example domain called 'website.com' and will be changing names and code to match it accordingly, like this 'wp-website-com'.** - **For very nice organization, I recommend keeping the ' wp- ' part at the beginning of the naming scheme so you can easily filter out containers and find what you're looking for very quickly and neatly.** @@ -54,7 +76,7 @@

- Screenshot + Screenshot

@@ -71,16 +93,26 @@ * **It will create the network range 10.64.0.0 within Docker and then delete itself since you only need to run it once.** -* **If you want to use a different network range instead of 10.64.0.0, you can right click on the batch file and change the range to whatever you want. Then save the bat file and run it.** +

+ + + Screenshot + + +

+ +

- Screenshot + Screenshot

+* **If you want to use a different network range instead of 10.64.0.0, you can right click on the batch file and change the range to whatever you want. Then save the bat file and run it.** +

@@ -103,7 +135,7 @@

- Screenshot + Screenshot

@@ -119,7 +151,7 @@

- Screenshot + Screenshot

@@ -139,7 +171,57 @@ code

- Screenshot + Screenshot + + +

+ +
+ +

+ + + Screenshot + + +

+ +
+ +

+ + + Screenshot + + +

+ +
+ +

+ + + Screenshot + + +

+ +
+ +

+ + + Screenshot + + +

+ +
+ +

+ + + Screenshot

@@ -159,7 +241,27 @@ docker-compose up -d

- Screenshot + Screenshot + + +

+ +
+ +

+ + + Screenshot + + +

+ +
+ +

+ + + Screenshot

@@ -175,7 +277,7 @@ docker-compose up -d

- Screenshot + Screenshot

@@ -189,7 +291,27 @@ docker-compose up -d **wp-config.php configuration** ```php -docker-compose up -d +// Change the URL to match your actual domain address. Example for ' website.com ' +// If you have a reverse proxy handling your SSL, make sure to use ' https:// ' instead of ' http:// ' +define('WP_HOME', 'http://website.com'); +define('WP_SITEURL', 'http://website.com'); + +// Replace REDIS_HOST with the name of your new site's Redis docker container. Example ' website-com-redis ' +define('WP_REDIS_HOST', 'wp-new-site-redis'); + +// Don't make any changes to the REDIS_PORT +define('WP_REDIS_PORT', 6379); + +// Change the prefix from ' new-site ' to match your domain. Example ' website-com ' +define('WP_REDIS_PREFIX', 'wp-new-site'); + +// Change the database number to match what's in your /yml file. If this is your first site, you can +// choose ' 1 ' . If this is your second site, choose ' 2 ', etc. Make sure it matches your /yml file! +define('WP_REDIS_DATABASE', 0); // 0-15 + +// Specifies reasonable timeouts. No need to change this. +define('WP_REDIS_TIMEOUT', 1); +define('WP_REDIS_READ_TIMEOUT', 1); ```