Assalamualaikum, Well to understand this post you will need to read first how i set multiple Wordpress sites in Docker containers ~ LetsEncrypt Certification Auto Renewal Ok the trick that i did to automate the renewal process is 1. Create 2 separate docker file I'm not able to create a single line letsencrypt command that can run cert renewal for two different domains, thus this is a hack way. If you have any suggestion let me know please! ls -l wordpress/docker-compose* -rw-rw-r-- 1 cxx cxx 2421 Jun 7 11:32 wordpress/docker-compose-4nutz.yml -rw-rw-r-- 1 cxx cxx 2442 Jun 7 11:28 wordpress/docker-compose.yml For file docker-compose-4nutz.yml small change made on the certbot definition, where i commented out the volumes for another website / kedaibiskut. Highlighted you can just totally remove it. Ensure the command is correct only for one domain and one path. certbot: depends_on: - web...
This is a blog that shares tips on Coding, Website, E-Commerce, Windows, Linux and IT related infos.