Hi Docker community,
I’m still new to Docker. I have a Mautic container running in a DigitalOcean VPS host w/Apache websierver. I would like to enable SSL so that I can securely access my Mautic instance.
I have successfully installed LetsEncrypt on the host, but I am unsure of what the next steps should entail.
Do I somehow copy the SSL certificates (fullchain.pem and privkey.pem) from the host into a dedicated directory inside the container? Are these the only two files needed? Can I copy over when the container is still running?
Then in my docker-compose.yml, add a volume mapping the path to the certificates in host to the path to the certificates in the container, map port 4430 on the host to port 443 in the container, and then rebuild the container?
Is this anything else I need to do?