almaops.ct_docker_registry

almaops.ct_docker_registry

License

Déployer un registre Docker (permet le miroir Docker et un stockage S3)

Description

Ce rôle permet de déployer un conteneur avec un registre Docker et de le configurer.

La configuration par défaut vous offre des options pour utiliser un stockage local ou S3, pour activer le mirroring du registre afin de contourner la limite de taux de téléchargement de Docker Hub, et plus encore.

Exemple

- role: almaops.docker
- role: almaops.ct_docker_registry
  ct_docker_registry_ct_name: "registry-mirror"
  ct_docker_registry_bind_addr: "{{ backnet_ip }}"
  ct_docker_registry_port: "5000"
  ct_docker_registry_enable_mirroring: true
  ct_docker_registry_enable_s3_storage: true
  ct_docker_registry_s3_akey: "<...>"
  ct_docker_registry_s3_skey: "<...>"
  ct_docker_registry_s3_region: "ru-central1"
  ct_docker_registry_s3_endpoint: "https://storage.yandexcloud.net"
  ct_docker_registry_s3_bucket: "myorg-dockerhub-mirror"

Installation

Ce rôle peut être installé depuis Ansible Galaxy :

ansible-galaxy install almaops.ct_docker_registry

Licence

MIT

Informations sur l'auteur

Dmitrii Kashin, freehck@freehck.com

À propos du projet

install docker registry in container (allows mirroring)

Installer
ansible-galaxy install almaops.ct_docker_registry
Licence
mit
Téléchargements
161
Propriétaire
Premium IT Consulting