neurolibre / neurolibre-binderhub

developer resources for neurolibre.conp.ca
2 stars 4 forks source link

Automatize docker registry installation #28

Open ltetrel opened 4 years ago

ltetrel commented 4 years ago

Now, we installed the docker registry manually (documentation is available in the gdocs folder):

  1. Creation of the instance (openstack)
  2. DNS configuration (cloudflare and openstack)
  3. Manual installation (online docker docs)

The idea would be to automatize this process using terraform. We would just add an optionnal docker-registry module (where our terraform configuration lives).

Terraform would create the registry if the user configured the module inside the main.tf. If it is not specified, terraform does not create it (this implies of course that the registry already exists).

ltetrel commented 4 years ago

The idea is to continue working on :

  1. Easy deployment from bare-metal~openstack to binderhub (with one line of code!)
  2. Reproducibility of the environment