Enabling https on a WordPress docker installation


(Aristos) #1

I used this command to install the official WordPress container

docker run -d --restart always --name wordpress -h wordpress -p 80:80 -p 443:443 -e PUID=1001 -e PGID=1001 -v wordpress:/var/www/html -d wordpress

Now I want to use https with this installation of WordPress. Everything I’v read so far though uses docker-compose which I’ve never used before.

What’s the easiest way to use letsencrypt to enable https for my WordPress?

Thanks


(Brian Mullan) #2

Wouldn’t this Docker question be better posed to a Docker forum ?