{"id":19363055,"url":"https://github.com/dimaskiddo/docker-registry-stack","last_synced_at":"2025-06-11T16:34:42.870Z","repository":{"id":119738513,"uuid":"321568299","full_name":"dimaskiddo/docker-registry-stack","owner":"dimaskiddo","description":"An Internal or Private Container Registry Stack using Docker-Compose","archived":false,"fork":false,"pushed_at":"2022-04-06T07:43:28.000Z","size":5,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":0,"default_branch":"master","last_synced_at":"2024-11-10T07:39:45.570Z","etag":null,"topics":["container","docker","docker-compose","private","registry","stack"],"latest_commit_sha":null,"homepage":"","language":null,"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/dimaskiddo.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":"2020-12-15T05:59:46.000Z","updated_at":"2024-10-18T04:11:43.000Z","dependencies_parsed_at":"2023-07-18T01:00:12.577Z","dependency_job_id":null,"html_url":"https://github.com/dimaskiddo/docker-registry-stack","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dimaskiddo%2Fdocker-registry-stack","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dimaskiddo%2Fdocker-registry-stack/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dimaskiddo%2Fdocker-registry-stack/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dimaskiddo%2Fdocker-registry-stack/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dimaskiddo","download_url":"https://codeload.github.com/dimaskiddo/docker-registry-stack/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":232782075,"owners_count":18575791,"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":["container","docker","docker-compose","private","registry","stack"],"created_at":"2024-11-10T07:32:26.074Z","updated_at":"2025-01-06T20:31:03.407Z","avatar_url":"https://github.com/dimaskiddo.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# An Internal or Private Container Registry Stack using Docker-Compose\n\nThis repository will help you to starting-up an internal or private container registry on your own server. This Container Registry Stack is built-in with Redis as Memory Blob Cache, Container Registry UI, and HAProxy as SNI and TLS termination.\n\n## Getting Started\n\nThese instructions will get you this repository can be used in your server.\n\n### Prerequisites\n\nPrequisites Packages:\n* Docker (Application Containerization)\n* Docker-Compose (Docker Orchestration)\n\n### Using This Package\n\nBelow is the instructions to use this package:\n* Install Docker and Docker-Compose CE (Please Read The Official Guideline in [here](https://docs.docker.com))\n* Install `htpasswd` tool to generate authentication\n```sh\n# On Debian/Ubuntu\nsudo apt-get install -y apache2-utils\n\n# On Red Hat/CentOS\nsudo yum install -y httpd-tools\n```\n* Clone this repository\n```sh\n# Asumming Git already installed\ngit clone -b master https://github.com/dimaskiddo/docker-registry-stack.git\ncd docker-registry-stack\n```\n* Generate authentication file\n```sh\n# HTPasswd authentication need to use Bcrypt mode\n# Repalce \u003cusername\u003e with your 'username' that will be used for the auth\nhtpasswd -B registry/auth/htpasswd \u003cusername\u003e\n```\n* Prepare your SSL/TLS certificate\n```sh\n# Put your SSL/TLS certificate in ./haproxy/certs with format .crt and .key\n# This will be used by the Container Registry\nvi haproxy/certs/example_com.crt\nvi haproxy/certs/example_com.key\n\n# Generate all-in-one PEM certificate\n# This will be used by the HAProxy\ncat haproxy/certs/example_com.crt haproxy/certs/example_com.key \u003e haproxy/certs/example_com.pem\n```\n* Configure your docker-compose.yml\n```sh\n# Configure the registry service environment variable section (line 25, 26, 43, 45)\n# In this case related to the SSL/TLS certficate file name (if you are using different name rather than example_com.*)\n# Also any Domain FQDN used need to be changed\nvi docker-compose.yml\n```\n* Configure your haproxy/haproxy.cfg\n```sh\n# Configure the SSL/TLS termination and the Hostname for Registry and the Registry UI (line 36, 41, 42)\n# In this case related to the SSL/TLS certficate file name (if you are using different name rather than example_com.*)\n# Also any Domain FQDN used need to be changed\nvi haproxy/haproxy.cfg\n```\n* Start the Container Registry Stack\n```sh\ndocker-compose up -d\n```\n* Check the Container Registry Stack\n```sh\ndocker-compose ps\ndocker-compose logs\n```\n* To Stop the Container Registry Stack\n```sh\ndocker-compose down\n```\n\n## Built With\n\n* [Docker](https://www.docker.com/) - Application Containerization\n\n## Authors\n\n* **Dimas Restu Hidayanto** - *Initial Work* - [DimasKiddo](https://github.com/dimaskiddo)\n\nSee also the list of [contributors](https://github.com/dimaskiddo/docker-registry-stack/contributors) who participated in this project\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdimaskiddo%2Fdocker-registry-stack","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdimaskiddo%2Fdocker-registry-stack","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdimaskiddo%2Fdocker-registry-stack/lists"}