Created
June 29, 2019 14:36
-
-
Save francoisruty/aa9f8fb85769ae2122acb363314daec7 to your computer and use it in GitHub Desktop.
fruty_distributed-docker-registry
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
registry: | |
image: registry:2 | |
ports: | |
- 127.0.0.1:5500:5000 | |
environment: | |
REGISTRY_STORAGE_DELETE_ENABLED: 'true' | |
REGISTRY_STORAGE_S3_ACCESSKEY: ${AWS_ACCESS_KEY} | |
REGISTRY_STORAGE_S3_SECRETKEY: ${AWS_SECRET_KEY} | |
volumes: | |
["./config.yml:/etc/docker/registry/config.yml"] | |
restart: always | |
another-registry: | |
image: registry:2 | |
ports: | |
- 127.0.0.1:6500:5000 | |
environment: | |
REGISTRY_STORAGE_DELETE_ENABLED: 'true' | |
REGISTRY_STORAGE_S3_ACCESSKEY: ${AWS_ACCESS_KEY} | |
REGISTRY_STORAGE_S3_SECRETKEY: ${AWS_SECRET_KEY} | |
volumes: | |
["./config.yml:/etc/docker/registry/config.yml"] | |
restart: always |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment