Mentions légales du service

Skip to content

Registry integration

BAIRE Anthony requested to merge registry-integration into django

(note: this PR is based on !37 (merged), you should review it first)

This PR reintroduces a custom build of the registry image:

  • to move most of the registry configuration into the image (ENV vars defined in the Dockerfile, thus providing a default config), and keep only the deployment-specific vars in the docker-compose.yml
  • to follow the same conventions as the other images and ease the deployment (persistent data (docker images) in /vol/rw and read-only data (config) in /vol/ro)
  • to run the registry as a non-root user by default

The certs/ dir is removed. The tokens key+certificate is now generated by the django container and stored in its '/vol/ro/certs' dir and the crt copied into the /vol/ro/cert of the registry by the deployment script.

This is validated in qualif -> https://allgo-qualif.inria.fr we can now push/pull images there -> docker push allgo-qualif.inria.fr/WEBAPP:VERSION

Merge request reports