creatif-studio / ansible-registry

Deploy Docker Registry with ease using our Ansible playbook

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Docker Registry Deployer

This project provides a set of Ansible, Terraform and Vagrant configuration files to deploy a docker application to a local/cloud environment. The deployment process includes setting up the necessary infrastructure, configuring servers, installing software, and starting the application.

Prerequisites

To use this project, you will need the following:

  • A cloud provider account with appropriate permissions to create and manage resources.
  • Ansible, Terraform, Vagrant, VirtualBox installed on your local machine.
  • A valid SSH key pair for authenticating with the remote servers.

Getting Started

To get started, follow these steps:

CloudBoz Registry

Hosting your own Docker Hub

Requirements

  • Install docker and docker-compose
  • Install apache2-utils and libnss3-tools
  • Install homebrew and mkcert

How to use?

  • Install requirements
  • Clone this repository
  • Go to this directory nginx/ssl
  • Generate new SSL mkcert -key-file key.pem -cert-file cert.pem example.com
  • Add new line to set insecure /etc/docker/daemon.json in another server
{
  "insecure-registries" : ["example.com"]
}
  • Reload docker service

Directory Structure

Here is an overview of the directory structure of this project:

elastic-search-deployer/
├── README.md
├── ansible/
│   ├── group_vars/
│   ├── host_vars/
│   ├── inventory/
│   ├── main.yml
│   └── roles/
│       ├── common/
│       ├── nginx/
│       └── web/
└── terraform/
    ├── main.tf
    ├── terraform.tfvars
    └── variables.tf

Contributing

If you'd like to contribute to this project, please follow these steps:

  1. Fork this repository.
  2. Create a branch for your changes.
  3. Make your changes and commit them to your branch.
  4. Push your branch to your forked repository.
  5. Open a pull request to merge your changes into the main repository.

License

This project is licensed under the MIT License. See the LICENSE file for details.

About

Deploy Docker Registry with ease using our Ansible playbook

License:MIT License