I'm using S3 as a storage system.
I can configure this through the environment variables fine, I see the blobs stored on S3.
Now I also want to configure redis caching through environment variables.
However, I can't seem to find the correct way of specifying the settings. (or it's not supported)
I set the storage_cache as follows:
- REGISTRY_STORAGE=s3
- REGISTRY_STORAGE_S3_REGION=eu-west-1
- REGISTRY_STORAGE_S3_BUCKET=docker-registry.ourdomain.be
- REGISTRY_STORAGE_S3_ACCESSKEY=AK.....
- REGISTRY_STORAGE_S3_SECRETKEY=XX...
- REGISTRY_REDIS_ADDR=redis:6379
- REGISTRY_STORAGE_CACHE=layerinfo
- REGISTRY_STORAGE_CACHE_LAYERINFO=redis
- No message about redis caching appears in the debug log on the registry container
- The environment variables are passed fine to the container
- The ip address & port are correctly linked and reachable
- in the configuration_test.go I don't see any tests on the storage cache setting
- no redis commands are executed
redis-cli monitor
- the registry is working, but getting very slow
thanks for any assistance or confirmation that this doesn't work through env variables
I'm using S3 as a storage system.
I can configure this through the environment variables fine, I see the blobs stored on S3.
Now I also want to configure redis caching through environment variables.
However, I can't seem to find the correct way of specifying the settings. (or it's not supported)
I set the storage_cache as follows:
redis-cli monitorthanks for any assistance or confirmation that this doesn't work through env variables