Intial Setup:create the certbot container and make sure it can connect to port 80.ports: - "80:80" Go in the container: docker-compose exec certbot /bin/shCreate the cert: certbot certonly --standalone -d hippocooking.com -d www.hippocooking.comRemove the ports againFrom now on call: docker-compose run --rm certbot certonly --webroot --webroot-path=/var/www/certbot -d hippocooking.com -d www.hippocooking.comgo in /hippocooking/nginx/ssl-dhparams and run: openssl dhparam -out dhparam.pem 2048