sglebs / ndeploy

Utility to deploy N microservices to N PaaS
2 stars 0 forks source link

overriding app name in repos file breaks the requirements.app mechanism under dokku #7

Closed sglebs closed 8 years ago

sglebs commented 8 years ago

We are using https://github.com/isaacsouza/dokku-apps-env

If I want to deploy my-app as my-app-staging locally in dokku and it is used by another app other-app which declares in its requirements.app my-app, then this other-app will break on deploy because its MY_APP_URL will not be set (because there's no my-app deployed - we renamed it).

We need to support the renaming from our script in this case, since https://github.com/isaacsouza/dokku-apps-env will not be able to help here (in injecting the value).