<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	
	>
<channel>
	<title>
	Comments on: Docker WordPress Production Deployment	</title>
	<atom:link href="https://www.datanovia.com/en/lessons/docker-wordpress-production-deployment/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.datanovia.com/en/lessons/docker-wordpress-production-deployment/</link>
	<description>Data Mining and Statistics for Decision Support</description>
	<lastBuildDate>Sat, 06 Nov 2021 18:59:32 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.8.2</generator>
	<item>
		<title>
		By: Jacobo Tapia		</title>
		<link>https://www.datanovia.com/en/lessons/docker-wordpress-production-deployment/#comment-22388</link>

		<dc:creator><![CDATA[Jacobo Tapia]]></dc:creator>
		<pubDate>Sat, 06 Nov 2021 18:59:32 +0000</pubDate>
		<guid isPermaLink="false">https://www.datanovia.com/en/?post_type=dt_lessons&#038;p=14603#comment-22388</guid>

					<description><![CDATA[This works for http, but https doesn&#039;t work at all.

I created this script to maker easier all the process.

#!/bin/bash

web_dir=/src/www
myusername=root
domain_name=domain.subdomain.com

genoteca_folder=/src/www/$domain_name

nginx_proxy_repo=https://github.com/kassambara/nginx-multiple-https-websites-on-one-server
nginx_folder=/src/www/nginx-multiple-https-websites-on-one-server/nginx-proxy
final_nginx_folder=/src/www/nginx-proxy

echo ---INSTALL REQUIRED COMPONENTS----
sudo apt update 
sudo apt install apt-transport-https ca-certificates curl software-properties-common 
curl -fsSL https://download.docker.com/linux/ubuntu/gpg &#124; sudo apt-key add - 
sudo add-apt-repository &quot;deb [arch=amd64] https://download.docker.com/linux/ubuntu focal stable&quot; 
sudo apt update 
apt-cache policy docker-ce
sudo apt install docker-ce docker-compose git 
sudo systemctl status docker 

echo ---CREATE AND GIVE PERMISSIONS TO WEBSITES DIR----
sudo mkdir -p $web_dir
# 2. set your user as the owner
sudo chown -R $myusername $web_dir
# 3. set the web server as the group owner
sudo chgrp -R www-data $web_dir
# 4. 755 permissions for everything
sudo chmod -R 755 $web_dir
# 5. New files and folders inherit 
# group ownership from the parent folder
chmod g+s $web_dir

echo ---INSTALL NGINX PROXY----
git clone $nginx_proxy_repo $web_dir
rm -rf $web_dir/nginx-proxy/nginx.tmpl
curl -s https://raw.githubusercontent.com/jwilder/nginx-proxy/master/nginx.tmpl &#062; $web_dir/nginx-proxy/nginx.tmpl
cd $web_dir
rm -rf your-website-one.com your-website-two.com README.Rmd .gitignore .Rbuildignore .git README.md

echo ---INSTALL WORDPRESS----
cd $web_dir
git clone https://github.com/kassambara/wordpress-docker-compose $domain_name

echo ---CONFIGURE DOCKER COMPOSE FOR ONLINEHOST----
cd $genoteca_folder
mv docker-compose-onlinehost.yml docker-compose.yml

echo ---FINAL TOUCHES----
cd $genoteca_folder
vi ./setup-onlinehost.sh
chmod +x setup-onlinehost.sh &#038;&#038; ./setup-onlinehost.sh
vi .env
vi docker-compose.yml

cd $final_nginx_folder
cd vhost.d
echo &quot;client_max_body_size 64M;&quot; &#062; $domain_name
cd $final_nginx_folder
docker network create nginx-proxy
docker-compose up -d

cd $genoteca_folder
docker-compose up -d --build
docker-compose -f docker-compose.yml -f wp-auto-config.yml run --rm wp-auto-config

I don&#039;t do the non-www to www. I remove the container from the docker-compose.yml]]></description>
			<content:encoded><![CDATA[<p>This works for http, but https doesn&#8217;t work at all.</p>
<p>I created this script to maker easier all the process.</p>
<p>#!/bin/bash</p>
<p>web_dir=/src/www<br />
myusername=root<br />
domain_name=domain.subdomain.com</p>
<p>genoteca_folder=/src/www/$domain_name</p>
<p>nginx_proxy_repo=https://github.com/kassambara/nginx-multiple-https-websites-on-one-server<br />
nginx_folder=/src/www/nginx-multiple-https-websites-on-one-server/nginx-proxy<br />
final_nginx_folder=/src/www/nginx-proxy</p>
<p>echo &#8212;INSTALL REQUIRED COMPONENTS&#8212;-<br />
sudo apt update<br />
sudo apt install apt-transport-https ca-certificates curl software-properties-common<br />
curl -fsSL <a href="https://download.docker.com/linux/ubuntu/gpg" rel="nofollow ugc">https://download.docker.com/linux/ubuntu/gpg</a> | sudo apt-key add &#8211;<br />
sudo add-apt-repository &#8220;deb [arch=amd64] <a href="https://download.docker.com/linux/ubuntu" rel="nofollow ugc">https://download.docker.com/linux/ubuntu</a> focal stable&#8221;<br />
sudo apt update<br />
apt-cache policy docker-ce<br />
sudo apt install docker-ce docker-compose git<br />
sudo systemctl status docker </p>
<p>echo &#8212;CREATE AND GIVE PERMISSIONS TO WEBSITES DIR&#8212;-<br />
sudo mkdir -p $web_dir<br />
# 2. set your user as the owner<br />
sudo chown -R $myusername $web_dir<br />
# 3. set the web server as the group owner<br />
sudo chgrp -R www-data $web_dir<br />
# 4. 755 permissions for everything<br />
sudo chmod -R 755 $web_dir<br />
# 5. New files and folders inherit<br />
# group ownership from the parent folder<br />
chmod g+s $web_dir</p>
<p>echo &#8212;INSTALL NGINX PROXY&#8212;-<br />
git clone $nginx_proxy_repo $web_dir<br />
rm -rf $web_dir/nginx-proxy/nginx.tmpl<br />
curl -s <a href="https://raw.githubusercontent.com/jwilder/nginx-proxy/master/nginx.tmpl" rel="nofollow ugc">https://raw.githubusercontent.com/jwilder/nginx-proxy/master/nginx.tmpl</a> &gt; $web_dir/nginx-proxy/nginx.tmpl<br />
cd $web_dir<br />
rm -rf your-website-one.com your-website-two.com README.Rmd .gitignore .Rbuildignore .git README.md</p>
<p>echo &#8212;INSTALL WORDPRESS&#8212;-<br />
cd $web_dir<br />
git clone <a href="https://github.com/kassambara/wordpress-docker-compose" rel="nofollow ugc">https://github.com/kassambara/wordpress-docker-compose</a> $domain_name</p>
<p>echo &#8212;CONFIGURE DOCKER COMPOSE FOR ONLINEHOST&#8212;-<br />
cd $genoteca_folder<br />
mv docker-compose-onlinehost.yml docker-compose.yml</p>
<p>echo &#8212;FINAL TOUCHES&#8212;-<br />
cd $genoteca_folder<br />
vi ./setup-onlinehost.sh<br />
chmod +x setup-onlinehost.sh &amp;&amp; ./setup-onlinehost.sh<br />
vi .env<br />
vi docker-compose.yml</p>
<p>cd $final_nginx_folder<br />
cd vhost.d<br />
echo &#8220;client_max_body_size 64M;&#8221; &gt; $domain_name<br />
cd $final_nginx_folder<br />
docker network create nginx-proxy<br />
docker-compose up -d</p>
<p>cd $genoteca_folder<br />
docker-compose up -d &#8211;build<br />
docker-compose -f docker-compose.yml -f wp-auto-config.yml run &#8211;rm wp-auto-config</p>
<p>I don&#8217;t do the non-www to www. I remove the container from the docker-compose.yml</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Jacobo Tapia		</title>
		<link>https://www.datanovia.com/en/lessons/docker-wordpress-production-deployment/#comment-22387</link>

		<dc:creator><![CDATA[Jacobo Tapia]]></dc:creator>
		<pubDate>Sat, 06 Nov 2021 16:37:50 +0000</pubDate>
		<guid isPermaLink="false">https://www.datanovia.com/en/?post_type=dt_lessons&#038;p=14603#comment-22387</guid>

					<description><![CDATA[This is not working. The browser always says that it can&#039;t trust my certificate. I don&#039;t know what else to do here.

I spent the entire night trying to figure out how to deploy.]]></description>
			<content:encoded><![CDATA[<p>This is not working. The browser always says that it can&#8217;t trust my certificate. I don&#8217;t know what else to do here.</p>
<p>I spent the entire night trying to figure out how to deploy.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Chris Nash		</title>
		<link>https://www.datanovia.com/en/lessons/docker-wordpress-production-deployment/#comment-22260</link>

		<dc:creator><![CDATA[Chris Nash]]></dc:creator>
		<pubDate>Tue, 24 Aug 2021 22:28:23 +0000</pubDate>
		<guid isPermaLink="false">https://www.datanovia.com/en/?post_type=dt_lessons&#038;p=14603#comment-22260</guid>

					<description><![CDATA[Some remarks:
Projekt_name must be set to &quot;wordpress&quot;
Quotation marks should be added in value of WORDPRESS_WEBSITE_URL_WITHOUT_HTTP in .env.
First REDIRECT in docker-compose.yml in redirectnonwww needs to be commented out, because of duplicate error.]]></description>
			<content:encoded><![CDATA[<p>Some remarks:<br />
Projekt_name must be set to &#8220;wordpress&#8221;<br />
Quotation marks should be added in value of WORDPRESS_WEBSITE_URL_WITHOUT_HTTP in .env.<br />
First REDIRECT in docker-compose.yml in redirectnonwww needs to be commented out, because of duplicate error.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Alboukadel		</title>
		<link>https://www.datanovia.com/en/lessons/docker-wordpress-production-deployment/#comment-21841</link>

		<dc:creator><![CDATA[Alboukadel]]></dc:creator>
		<pubDate>Sat, 03 Apr 2021 06:18:15 +0000</pubDate>
		<guid isPermaLink="false">https://www.datanovia.com/en/?post_type=dt_lessons&#038;p=14603#comment-21841</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.datanovia.com/en/lessons/docker-wordpress-production-deployment/#comment-21794&quot;&gt;Jean Ibbotson&lt;/a&gt;.

Thank you so much for the positive feedback, highly appreciated!]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://www.datanovia.com/en/lessons/docker-wordpress-production-deployment/#comment-21794">Jean Ibbotson</a>.</p>
<p>Thank you so much for the positive feedback, highly appreciated!</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Jean Ibbotson		</title>
		<link>https://www.datanovia.com/en/lessons/docker-wordpress-production-deployment/#comment-21794</link>

		<dc:creator><![CDATA[Jean Ibbotson]]></dc:creator>
		<pubDate>Tue, 23 Mar 2021 07:44:22 +0000</pubDate>
		<guid isPermaLink="false">https://www.datanovia.com/en/?post_type=dt_lessons&#038;p=14603#comment-21794</guid>

					<description><![CDATA[You are the BEST!!! All I had to do was keep clicking to find the thing I need. Thanks a million :)]]></description>
			<content:encoded><![CDATA[<p>You are the BEST!!! All I had to do was keep clicking to find the thing I need. Thanks a million 🙂</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Cito Giulini		</title>
		<link>https://www.datanovia.com/en/lessons/docker-wordpress-production-deployment/#comment-21783</link>

		<dc:creator><![CDATA[Cito Giulini]]></dc:creator>
		<pubDate>Tue, 16 Mar 2021 03:33:13 +0000</pubDate>
		<guid isPermaLink="false">https://www.datanovia.com/en/?post_type=dt_lessons&#038;p=14603#comment-21783</guid>

					<description><![CDATA[fantastic.  how can I force to remove www?]]></description>
			<content:encoded><![CDATA[<p>fantastic.  how can I force to remove www?</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Charles		</title>
		<link>https://www.datanovia.com/en/lessons/docker-wordpress-production-deployment/#comment-21714</link>

		<dc:creator><![CDATA[Charles]]></dc:creator>
		<pubDate>Sun, 21 Feb 2021 02:15:34 +0000</pubDate>
		<guid isPermaLink="false">https://www.datanovia.com/en/?post_type=dt_lessons&#038;p=14603#comment-21714</guid>

					<description><![CDATA[This was an awesome tutorial..... Much appreciated!!]]></description>
			<content:encoded><![CDATA[<p>This was an awesome tutorial&#8230;.. Much appreciated!!</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Aysenur BURAK		</title>
		<link>https://www.datanovia.com/en/lessons/docker-wordpress-production-deployment/#comment-21387</link>

		<dc:creator><![CDATA[Aysenur BURAK]]></dc:creator>
		<pubDate>Mon, 07 Dec 2020 14:37:51 +0000</pubDate>
		<guid isPermaLink="false">https://www.datanovia.com/en/?post_type=dt_lessons&#038;p=14603#comment-21387</guid>

					<description><![CDATA[Hello, I am trying set up wordpress on docker for my domain name.
I did all steps but I receive blank screen on web site. In step 9 it says &quot;wordpress: 80 now available&quot; instead of &quot;nginx: 80 now available&quot;. I need your help.]]></description>
			<content:encoded><![CDATA[<p>Hello, I am trying set up wordpress on docker for my domain name.<br />
I did all steps but I receive blank screen on web site. In step 9 it says &#8220;wordpress: 80 now available&#8221; instead of &#8220;nginx: 80 now available&#8221;. I need your help.</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>

<!--
Performance optimized by W3 Total Cache. Learn more: https://www.boldgrid.com/w3-total-cache/

Object Caching 120/161 objects using Memcached
Page Caching using Disk: Enhanced 
Lazy Loading (feed)
Database Caching 2/48 queries in 0.026 seconds using APC

Served from: www.datanovia.com @ 2025-08-01 16:07:17 by W3 Total Cache
-->