{"id":15661558,"url":"https://github.com/zeroc0d3/docker-rails-nginx-unicorn","last_synced_at":"2026-03-05T22:08:40.008Z","repository":{"id":70352525,"uuid":"89435407","full_name":"zeroc0d3/docker-rails-nginx-unicorn","owner":"zeroc0d3","description":"Docker Rails + Nginx + Unicorn (from Ubuntu 16.04 \u0026 Ruby 2.4.0)","archived":false,"fork":false,"pushed_at":"2017-04-26T08:58:46.000Z","size":5,"stargazers_count":7,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-05T22:48:59.510Z","etag":null,"topics":["docker","foreman","nginx","rails","ruby","ubuntu","unicorn"],"latest_commit_sha":null,"homepage":null,"language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zeroc0d3.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-04-26T03:50:17.000Z","updated_at":"2023-06-02T02:14:13.000Z","dependencies_parsed_at":"2023-02-22T00:15:23.298Z","dependency_job_id":null,"html_url":"https://github.com/zeroc0d3/docker-rails-nginx-unicorn","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/zeroc0d3/docker-rails-nginx-unicorn","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zeroc0d3%2Fdocker-rails-nginx-unicorn","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zeroc0d3%2Fdocker-rails-nginx-unicorn/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zeroc0d3%2Fdocker-rails-nginx-unicorn/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zeroc0d3%2Fdocker-rails-nginx-unicorn/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zeroc0d3","download_url":"https://codeload.github.com/zeroc0d3/docker-rails-nginx-unicorn/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zeroc0d3%2Fdocker-rails-nginx-unicorn/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30152089,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-05T21:15:50.531Z","status":"ssl_error","status_checked_at":"2026-03-05T21:15:11.173Z","response_time":93,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["docker","foreman","nginx","rails","ruby","ubuntu","unicorn"],"created_at":"2024-10-03T13:28:05.361Z","updated_at":"2026-03-05T22:08:39.981Z","avatar_url":"https://github.com/zeroc0d3.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# docker-rails-nginx-unicorn\n[![](https://images.microbadger.com/badges/image/zeroc0d3/docker-rails-nginx-unicorn.svg)](https://microbadger.com/images/zeroc0d3/docker-rails-nginx-unicorn \"Layers\") [![](https://images.microbadger.com/badges/version/zeroc0d3/docker-rails-nginx-unicorn.svg)](https://microbadger.com/images/zeroc0d3/docker-rails-nginx-unicorn \"Latest\")\n\nDocker Rails + Nginx + Unicorn (from Ubuntu 16.04 \u0026amp; Ruby 2.4.0). Easy useable docker for rails. less configuration, affordable production.\n\n## What's include\n\n* unicorn, nginx, foreman\n* mysql, postgresql lib\n\n# Usage\n\n* Create `Dockerfile` to your project and paste below code.\n\n```\n# Dockerfile\nFROM zeroc0d3/docker-rails-nginx-unicorn\n\nMAINTAINER ZeroC0D3 Team (zeroc0d3.0912@gmail.com)\n\nEXPOSE 80\n```\n\n* Add `unicorn` gem (add/uncomment `gem 'unicorn'` in `Gemfile`)\n\n## Build and run docker\n\n```\n# build your dockerfile\n$ docker build -t your/project .\n\n# run container\n$ docker run -d -p 80:80 -e SECRET_KEY_BASE=secretkey your/project\n```\n\n# Custom pre-install lib\n\nif your rails app required pre-install lib like imagemagick (or others) use [`rails-nginx-unicorn-pro`](https://github.com/zeroc0d3/docker-rails-nginx-unicorn-pro)\n\n\n# Customize Nginx, Unicorn, Foreman config\n\n## Nginx\n\n```\n# your Dockerfile\n...\nADD config/your-custom-nginx.conf /etc/nginx/sites-enabled/default\n...\n```\n\n## Unicorn\n\nplace your unicorn config to `config/unicorn.rb`\n\n## foreman\n\nplace your Procfile to app root\n\n\n# Use a specific version of Ruby, Nginx\n\nChange `FROM` instruction your Dockerfile\n\n```\n# Dockerfile\nFROM zeroc0d3/docker-rails-nginx-unicorn:ruby2.4.0-nginx1.10.3\n...\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzeroc0d3%2Fdocker-rails-nginx-unicorn","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzeroc0d3%2Fdocker-rails-nginx-unicorn","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzeroc0d3%2Fdocker-rails-nginx-unicorn/lists"}