Dokku 拒绝在第二个应用程序上部署
Dokku refusing deployment on second app
我使用 dokku apps:create appname
在 Azure 上的 Ubuntu 虚拟机中制作了两个 dokku 应用程序
$dokku apps
=====> My Apps
api
frontend
我可以成功部署到第一个,但不能部署到另一个:
git push dokku@myserver.com:api
成功,但是
git push dokku@myserver.com:frontend
失败
fatal: 'frontend' does not appear to be a git repository
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
什么可能导致这种情况?
这可以通过使用 ssh 命令添加用户来解决,而不是手动操作 authorized_keys
文件,如 this 问题中所述。
我使用 dokku apps:create appname
$dokku apps
=====> My Apps
api
frontend
我可以成功部署到第一个,但不能部署到另一个:
git push dokku@myserver.com:api
成功,但是
git push dokku@myserver.com:frontend
失败
fatal: 'frontend' does not appear to be a git repository
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
什么可能导致这种情况?
这可以通过使用 ssh 命令添加用户来解决,而不是手动操作 authorized_keys
文件,如 this 问题中所述。