{"id":17892783,"url":"https://github.com/neetjn/ansible-docker-registry","last_synced_at":"2025-06-15T11:32:18.471Z","repository":{"id":48131420,"uuid":"103054438","full_name":"neetjn/ansible-docker-registry","owner":"neetjn","description":"Ansible playbook for setting up and provisioning a private docker registry.","archived":false,"fork":false,"pushed_at":"2018-01-25T14:26:34.000Z","size":11,"stargazers_count":4,"open_issues_count":0,"forks_count":8,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-03T06:23:05.301Z","etag":null,"topics":["ansible","docker","it","nginx","registry"],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/neetjn.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}},"created_at":"2017-09-10T19:04:09.000Z","updated_at":"2022-07-21T22:19:42.000Z","dependencies_parsed_at":"2022-08-12T19:20:33.991Z","dependency_job_id":null,"html_url":"https://github.com/neetjn/ansible-docker-registry","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/neetjn/ansible-docker-registry","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neetjn%2Fansible-docker-registry","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neetjn%2Fansible-docker-registry/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neetjn%2Fansible-docker-registry/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neetjn%2Fansible-docker-registry/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/neetjn","download_url":"https://codeload.github.com/neetjn/ansible-docker-registry/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neetjn%2Fansible-docker-registry/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259966996,"owners_count":22939339,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["ansible","docker","it","nginx","registry"],"created_at":"2024-10-28T14:44:22.256Z","updated_at":"2025-06-15T11:32:18.399Z","avatar_url":"https://github.com/neetjn.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# ansible-docker-register\n\nAnsible playbook for setting up and provisioning a private docker registry.\n\nThis ansible playbook will install docker if not done so already, and any other necessary packages or modules. This playbook also supports NGINX proxying if a host is specified in the NGINX host group.\n\n### Variables\n\nPlaybook inventory variables can be found in `groupvars/all.yml`.\n\n\u003e **registry_port**: Port for NGINX registry to bind to.\n\u003e **registry_user**: Registry username for http auth (for NGINX).\n\u003e **registry_pass**: Registry password for http auth (for NGINX).\n\n### Requirements\n\n    git\n    ansible 2 - 2.3\n\nDue to a change in version 2.4 explained [here](https://github.com/ansible/ansible/issues/31041), any version of ansible above 2.3.x is not recommended.\n\n### Use\n\nClone the repository,\n```bash\ngit clone https://github.com/neetjn/ansible-docker-registry.git\n```\n\nRun the playbook,\n```bash\nansible-playbook playbook.yml\n```\n\nOptionally, if you would like to configure a remote ystem:\n* Replace the placeholder host in the `hosts` inventory file.\n* Uncomment the `ansible-ssh-user` and `ansible-ssh-pass` variables from your group variables.\n* Update them accordingly with login credentials for your remote machine.\n\nThen run your playbook,\n\n```bash\nansible-playbook playbook.yml -i hosts\n```\n\nAdditionally if you would like to setup NGINX:\n* Modify your `registry_user` and `registry_pass` variables in your group variables to reflect your desired credentials.\n* Add `--extra-vars \"registry_host=mydomain.com\"` to then end of your ansible-playbook command.\n\n---\n\nCopyright (c) 2017 John Nolette Licensed under the MIT license.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fneetjn%2Fansible-docker-registry","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fneetjn%2Fansible-docker-registry","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fneetjn%2Fansible-docker-registry/lists"}