Install Docker WordPress container with nginx, MySQL, and Let's Encrypt SSL Certificate.
- Docker
- Docker Compose
-
Modify environment in
docker-compose.yaml
-
Set
.env
variables to desired configurationNote: Remove nginx config files if running test certificate before changing to production.
-
docker-compose up
Copy files to server (replace IP address with server address):
scp -r ./* [email protected]:/root/project