{"id":26593783,"url":"https://github.com/sudo-bot/docker-capistrano","last_synced_at":"2026-04-13T13:31:39.857Z","repository":{"id":96414615,"uuid":"468659337","full_name":"sudo-bot/docker-capistrano","owner":"sudo-bot","description":"A Docker image for capistrano (laravel and symfony)","archived":false,"fork":false,"pushed_at":"2025-12-25T17:40:31.000Z","size":92,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-27T04:21:51.095Z","etag":null,"topics":["capistrano","capistrano-laravel","capistrano-symfony","docker","docker-image"],"latest_commit_sha":null,"homepage":"https://hub.docker.com/r/botsudo/capistrano","language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sudo-bot.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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,"zenodo":null}},"created_at":"2022-03-11T07:57:36.000Z","updated_at":"2025-12-25T17:38:05.000Z","dependencies_parsed_at":null,"dependency_job_id":"2d2c8ed3-f6c2-4d6b-873a-4a1630ac15cf","html_url":"https://github.com/sudo-bot/docker-capistrano","commit_stats":null,"previous_names":[],"tags_count":15,"template":false,"template_full_name":null,"purl":"pkg:github/sudo-bot/docker-capistrano","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sudo-bot%2Fdocker-capistrano","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sudo-bot%2Fdocker-capistrano/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sudo-bot%2Fdocker-capistrano/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sudo-bot%2Fdocker-capistrano/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sudo-bot","download_url":"https://codeload.github.com/sudo-bot/docker-capistrano/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sudo-bot%2Fdocker-capistrano/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31754816,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-13T13:27:56.013Z","status":"ssl_error","status_checked_at":"2026-04-13T13:21:23.512Z","response_time":93,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":["capistrano","capistrano-laravel","capistrano-symfony","docker","docker-image"],"created_at":"2025-03-23T15:30:15.780Z","updated_at":"2026-04-13T13:31:39.834Z","avatar_url":"https://github.com/sudo-bot.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# A Docker image to run Capistrano\n\nGo to [Capistrano's GitHub](https://github.com/capistrano/capistrano#readme) or on [Capistrano's website](https://capistranorb.com/)\n\nYou can find the image on [Docker Hub](https://hub.docker.com/r/botsudo/capistrano) and on [GitHub](https://github.com/sudo-bot/docker-capistrano#readme)\n\n[![Docker Pulls](https://img.shields.io/docker/pulls/botsudo/capistrano.svg)](https://hub.docker.com/r/botsudo/capistrano)\n\n## How to use it\n\n### Folder and file structure\n\n```tree\n./deploy\n├── Capfile\n├── config\n│   ├── deploy-server1\n│   │   ├── production.rb\n│   │   └── staging.rb\n│   ├── deploy-server2\n│   │   ├── production.rb\n│   │   └── staging.rb\n│   └── deploy.rb\n├── launch.sh\n\n3 directories, 7 files\n```\n\n#### `launch.sh`\n\n```sh\n#!/bin/sh -eu\n\necho \"Start SSH agent\"\neval $(ssh-agent -s)\nssh-add $SSH_KEY\nssh-add -l\n\necho \"Deploying ($BRANCH) ...\"\nbundle exec cap $ENV_NAME deploy BRANCH=\"$BRANCH\" SSH_KEY=\"$SSH_KEY\"\n```\n\n### Command line\n\n```sh\n# For Capistrano logs (https://capistranorb.com/documentation/getting-started/configuration/) LOGNAME and USERNAME are needed\n\n# Example: ./deploy/config/deploy-server1\n\ndocker run \\\n\n    # Mount some files and folders referenced in .rb configs\n    -v /root/deploy/composer.lock:/deploy/composer.lock:rw \\\n    -v /root/deploy/envs:/deploy/envs:ro \\\n    -v /root/deploy/keys:/deploy/keys:ro \\\n\n    # Mount configs\n    -v /root/deploy/config/deploy-server1:/deploy/config/deploy:ro \\\n    -v /root/deploy/config/deploy.rb:/deploy/config/deploy.rb:ro \\\n\n    # Mount your Capfile\n    -v /root/deploy/Capfile:/deploy/Capfile:ro \\\n\n    # Your script to launch the deploy\n    -v /root/deploy/launch.sh:/deploy/scripts/launch.sh:ro \\\n\n    # Needed ENVs\n    -e LOGNAME=\"$USER\" \\\n    -e USERNAME=\"$USER\" \\\n    -e BRANCH=$2 \\\n    -e ENV_NAME=$ENV_NAME \\\n    -e SSH_KEY=\"./deploy/keys/id_rsa_deploy\" \\\n    -it --net=host --rm botsudo/capistrano:3.17.1 sh -exu -c './deploy/scripts/launch.sh'\n    # Also exists as 3.17.1-symfony for deploying symfony\n    # Also exists as 3.17.1-laravel for deploying laravel\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsudo-bot%2Fdocker-capistrano","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsudo-bot%2Fdocker-capistrano","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsudo-bot%2Fdocker-capistrano/lists"}