Cloud9 IDE with Ruby on Rails and MySQL client
Docker Hub: hunterlong/cloud9-rails
A simple Cloud9 IDE Docker Image to run Ruby on Rails with MySQL client. With this Docker image, you'll be able to quickly mount your workspace folder and feel right at home. With the command below, you'll have Cloud9 IDE on port 80, and the preview of your project on port 8080.
docker run -it -d -p 80:80 -p 8080:8080 -e LOGIN_AUTH="admin:password" -v /your-path/workspace/:/workspace/:rw hunterlong/cloud9-rails
To run the rails server in the container port 8080, run command below inside the Cloud9 IDE.
bundle exec rails s -b 0.0.0.0 -p 8080
You can add basic HTTP authentication with the environment variable: