Wordpress in a Docker | Nginx Webserver

Опубликовано: 29 Сентябрь 2024
на канале: logneon
532
15

#nginx #docker #alpine #webserver #selfhosted #wordpress #wsl #wsl2 #microsoft #windows11 #windows10
==============================
How to install docker on windows?
First enable wsl and hypervisor on windows using the Microsoft installation guide, or enable these features from the control panel.
==============================
Download docker and install it
==============================
Run you favorite container with docker-compose up command

docker compose here--
=============
https://github.com/R37RO/dockerwordpr...
=============

=============
you can use ubuntu 20.04.5 LTS (from windows store)
=============

=============
windows docker lan fix | unable to access windows docker sites form lan---
=============

get your docker IP address with docker wsl ubuntu ( 20.04.5 LTS ) or other wsl distro

=============
ip addr | grep eth0
=============
to port forward for wsl (use powershell, change your both ports and docker ip ) repeat this for each port Eg: 80,443,8001,9443,8080,9000 etc

=============
netsh interface portproxy add v4tov4 listenport=80 listenaddress=0.0.0.0 connectport=80 connectaddress=172.20.139.171
=============
don't forgot to open ports from inbound and outbound from windows firewall.
Thank you for watching this video