Sign inSign up

dockerframework/capistrano-rvm

By dockerframework

•Updated over 6 years ago

Capistrano RVM (Ruby Version Manager) Container

Image
0

1.0K

dockerframework/capistrano-rvm repository overview

⁠Capistrano RVM (Ruby Version Manager) Container

Capistrano RVM (Ruby Version Manager) Container of Docker Framework

⁠What is Capistrano ?

⁠Capistrano is a remote server automation tool.
  • It supports the scripting and execution of arbitrary tasks, and includes a set of sane-default deployment workflows.

  • Capistrano can be used to:

    • Reliably deploy web application to any number of machines simultaneously, in sequence or as a rolling set
    • To automate audits of any number of machines (checking login logs, enumerating uptimes, and/or applying security patches)
    • To script arbitrary workflows over SSH
    • To automate common tasks in software teams.
    • To drive infrastructure provisioning tools such as chef-solo, Ansible or similar.
    • Capistrano is also very scriptable, and can be integrated with any other Ruby software to form part of a larger tool.
⁠How to Use
  • Set environment configuration file
    cp .env.example .env
    
  • Define your project's folder inside .env
    DATA_RUBY=[YOUR_PROJECTS_FOLDER]
    ---
    eg:
    DATA_RUBY=/data/deployment
    
  • Running docker-compose
    docker-compose up
    
  • Goto Inside Container
    docker exec -it [CONTAINER_NAME]
    ---
    eg:
    docker exec -it capistrano_rvm_[UBUNTU_VERSION]_[RUBY_VERSION] bash
    docker exec -it capistrano_rvm_18.04_2.7.1 bash
    
  • Install Dependencies Gem
    rvm use [RUBY_VERSION]   # eg: RUBY_VERSION=2.7.1
    ---
    rvm use 2.7.1
    
    gem install rubygems-bundler
    gem regenerate_binstubs
    bundle install
    
⁠References

Build Status GitHub issues GitHub forks GitHub stars GitHub license

Tag summary

Content type

Image

Digest

Size

194.3 MB

Last updated

over 6 years ago

docker pull dockerframework/capistrano-rvm