Docker
Docker

Cloud9 IDE with Ruby on Rails in Docker


I’ve been using Cloud9 for quite a while, but then I wanted to run it on my own server with no extra costs. I made life easy, and created a Docker image that will install Cloud9 with Ruby on Rails. https://github.com/Hunterlong/Cloud9-Rails It’s pretty simple to use, just run the docker image with a couple of enviroment variables and you’ll be on your way.

1
docker run -it -d -p 80:80 -p 8080:8080 -e LOGIN_AUTH="admin:password" -v /your-path/workspace/:/workspace/:rw hunterlong/cloud9-rails

This will run the Cloud9 Ruby on Rails Docker image on port 8080 for the IDE, and your preview will run on 80.
It also includes a simple HTTP authentication to you can make it private if its on a public network. Be sure to mount your volume so your rails application won’t be deleted if you delete the docker container.

Checkout the docker image at DockerHub.


View Comments
There are currently no comments.