Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

automatically set existing DATABASE_URL for redeploy of linked app #24

Open
srt32 opened this issue Jan 29, 2014 · 0 comments
Open

automatically set existing DATABASE_URL for redeploy of linked app #24

srt32 opened this issue Jan 29, 2014 · 0 comments

Comments

@srt32
Copy link

srt32 commented Jan 29, 2014

Upon redeploying an app (having previously created a db and linking the existing app to the db) the redeployed app does not have access to the previously set DATABASE_URL. This makes sense because the new container won't have the env vars so my question is what is the preferred way to programmatically set the DATABASE_URL env var for a frequently deployed app?
#23 seems promising but I still can't quite figure out what's going on. Also, this issue from docker seems promising but doesn't appear to automatically set env vars: moby/moby#240

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant