You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 12, 2018. It is now read-only.
Edit the config.yml and provide it to the container with a shared volume
Same as 2, but with an NFS volume or a synchronized directory(?)
Proposed solutions:
Keep the same behavior with environment variables. We may want to do a better job namespacing configuration variables for storage drivers though. For instance, the s3 driver, we provide AWS_BUCKET and AWS_KEY, but perhaps these should be S3_BUCKET and S3_AWS_KEY or S3_KEY.
We should probably still use a YAML configuration file, although we should be more conscious of versioning, as to avoid requiring a rewrite of configuration files on each version change. The registry could continue to use old configuration file versions up to a point, as long as we're explicit in specifying the configuration version.
Allow the registry to use a URL to point at a YAML configuration, as hosted on a web server somewhere. This allows us to update the configuration in one place and have the changes propagate to all registries using this configuration endpoint (great for mirroring setups).
Let's define the approach by which users will configure the next-gen registry:
First, some use cases:
Current solutions:
Parameters can be provided via environment variables at runtime. Example shown below:
Edit the config.yml and provide it to the container with a shared volume
Same as 2, but with an NFS volume or a synchronized directory(?)
Proposed solutions:
AWS_BUCKETandAWS_KEY, but perhaps these should beS3_BUCKETandS3_AWS_KEYorS3_KEY.