用docker-compose部署HTTPS时总是申请证书失败

应该是卡在申请证书这一步。但是用 nextcloud架设后(不同的二级域名),申请证书正常
错误日志如下:
File “/usr/lib/python3.10/subprocess.py”, line 369, in check_call

raise CalledProcessError(retcode, cmd)

subprocess.CalledProcessError: Command ‘/scripts/ssl.sh /shared/ssl 我的域名’ returned non-zero exit status 1.

手动运行可以吗,一般这个都是网络问题

我是内网映射的380:80,3443:443
因为家庭宽带禁用了80和443端口。
是不是这个原因导致失败的?

部分配置如下:
seafile:
image: seafileltd/seafile-mc:latest
container_name: seafile
ports:
- “380:80”
- “3443:443” # If https is enabled, cancel the comment.
volumes:
- /cloud/seafile-data:/shared # Requested, specifies the path to Seafile data persistent store.