Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Support for REDIS_URL and MONGO_URL #2

Open
MichaelSp opened this issue Dec 7, 2016 · 2 comments
Open

Support for REDIS_URL and MONGO_URL #2

MichaelSp opened this issue Dec 7, 2016 · 2 comments

Comments

@MichaelSp
Copy link

MichaelSp commented Dec 7, 2016

Support for REDIS_URL and MONGO_URL would be nice to push koding to dokku

Here is how I tried it:

dokku apps:create koding
docker pull koding/koding:latest
docker tag koding/koding:latest dokku/koding:latest
dokku mongo:create koding
dokku mongo:link koding koding
dokku redis:create koding
dokku redis:link koding koding
dokku tags:deploy koding latest
dokku proxy:ports-add koding http:80:8090
dokku proxy:ports-remove koding http:80:80
@mehmetalisavas
Copy link
Member

cc/ @szkl

@szkl szkl self-assigned this Jan 10, 2017
@szkl
Copy link
Member

szkl commented Jan 10, 2017

Hi @MichaelSp. Thanks for the suggestion. If it is possible for you to set MONGO_URL as KONFIG_MONGO then you can try to run it until we add support for environment variables defined in environment setup by dokku. You can take .env-docker-compose file as a reference. Same applies for redis too but unlike mongo it accepts two variables.

Another alternative is using koding/singular image. All services are built-in. I noticed you have actually run koding/koding image.

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

No branches or pull requests

3 participants