Stop docker compose sudo certbot certonly, chose option 2 then the certs will be generated, copy them into container and you are ready to rock!