raulr / nginx-wordpress-docker Goto Github PK
View Code? Open in Web Editor NEWDocker image with Nginx front-end for WordPress PHP-FPM image.
Home Page: https://hub.docker.com/r/raulr/nginx-wordpress/
License: MIT License
Docker image with Nginx front-end for WordPress PHP-FPM image.
Home Page: https://hub.docker.com/r/raulr/nginx-wordpress/
License: MIT License
Hello,
I cannot update core or plugins from admin. I have permission trouble (maybe because I use volume to persist html folder)
Have you got any advice on this ?
Hi,
I find it missing let's encrypt. Can you add ?
Thank you.
ERROR: for nginx_nginx_1 Cannot start service nginx: driver failed programming external connectivity on endpoint nginx_nginx_1 (67d91214e1a643bbfde7b7e613e2a1cb595b877fcdb34721dce16d87bdac18ce): Error starting userland proxy: mkdir /port/tcp:0.0.0.0:8080:tcp:172.17.0.4:80: input/output error
ERROR: for nginx Cannot start service nginx: driver failed programming external connectivity on endpoint nginx_nginx_1 (67d91214e1a643bbfde7b7e613e2a1cb595b877fcdb34721dce16d87bdac18ce): Error starting userland proxy: mkdir /port/tcp:0.0.0.0:8080:tcp:172.17.0.4:80: input/output error
ERROR: Encountered errors while bringing up the project.
I'm on Windows 10 Pro, with Hyper-V used. Used docker-compose.yml
& docker-compose up
.
Hi,
thanks for this great image ๐
I'm using it in combination with jwilder/nginx-proxy and JrCs/docker-letsencrypt-nginx-proxy-companion - that's awesome!
To get nginx-wordpress-docker logging the correct remote IP address using jwilder/nginx-proxy I had to add the following to lines to default.conf:
real_ip_header X-Forwarded-For;
set_real_ip_from 172.16.0.0/12;
Maybe you have an idea howto include this feature to your official image, i.e. allowing to setup the environment variables REAL_IP_HEADER and REAL_IP_FROM in case the container is running behind a proxy.
Hello,
I'm trying to get multisite working using your docker image but I just end up getting:
Error establishing a database connection
Would you happen to know what I need to modify to get it working?
Thanks,
Tim
Hi,
Unfortunately, WordPress couldn't send email using your image.
The problem is that WP apparently determines the domain name using the "server_name" NGINX config value and as it is "_" (for the catchall), it is incorrect and it cannot send an email (e.g. forgot password).
To fix this, I added a requirement for a Docker environment variable "SITE" (with the domain name) and added this in the entrypoint:
In:
if [ "$1" == nginx ]; then
This:
sed -i "s/server_name _/server_name $SITE www\.$SITE/" /etc/nginx/conf.d/default.conf
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.