Skip to content

Instantly share code, notes, and snippets.

@francoisruty
Created June 29, 2019 14:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save francoisruty/aa9f8fb85769ae2122acb363314daec7 to your computer and use it in GitHub Desktop.
Save francoisruty/aa9f8fb85769ae2122acb363314daec7 to your computer and use it in GitHub Desktop.
fruty_distributed-docker-registry
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