docker-rails:在生产环境中运行Rails应用程序的自带docker映像

时间:2021-03-01 20:28:12
【文件属性】:
文件名称:docker-rails:在生产环境中运行Rails应用程序的自带docker映像
文件大小:22KB
文件格式:ZIP
更新时间:2021-03-01 20:28:12
Shell 码头工人 [ ]( ) 一个坚定的Docker映像,用于在生产环境中运行Rails应用程序。 使用Puma,Sidekiq,Clockwork和rails_migrate_mutex。 一切都是可选的。 快速范例 创建一个新的Rails应用程序( $ rails new my_blog ) 创建Dockerfile在应用程序根与此内容: FROM combostrikehq/docker-rails:latest 将Gemfile gem 'puma'添加到Gemfile并运行bundle install 构建$ docker build -t my_blog .容器: $ docker build -t my_blog . 运行容器: $ docker run -p 8080:8080 -e RAILS_ENV=development my_blog 打开http://l
【文件预览】:
docker-rails-master
----build.sh(263B)
----deploy.sh(481B)
----LICENSE.txt(1KB)
----.ruby-version(6B)
----VERSION(14B)
----onbuild()
--------Dockerfile(848B)
----.circleci()
--------config.yml(819B)
----base()
--------rails-assets.sh(490B)
--------clockwork.sh(190B)
--------apt.conf(99B)
--------wait-for-syslog.sh(240B)
--------db_migrate.sh(127B)
--------sidekiq.yml(37B)
--------custom-services.sh(382B)
--------Dockerfile(2KB)
--------clockwork.rb(163B)
--------appserver.sh(139B)
--------UTC(127B)
--------yarn.list(47B)
--------puma.rb(1KB)
--------sidekiq.sh(374B)
--------google-chrome.list(55B)
----release.sh(505B)
----test()
--------docker-compose.yml(399B)
--------template.rb(525B)
--------files()
----test.sh(2KB)
----README.md(6KB)
----.rubocop.yml(31B)
----.gitignore(13B)
----CHANGELOG.md(4KB)

网友评论