Skip to content

Instantly share code, notes, and snippets.

@mesaglio
Last active August 7, 2020 17:45
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mesaglio/10a088937e67dfc2baf33b2aaeba705f to your computer and use it in GitHub Desktop.
Save mesaglio/10a088937e67dfc2baf33b2aaeba705f to your computer and use it in GitHub Desktop.
Docker registry + registry ui
version: '3.1'
services:
registry:
image: registry:2
ports:
- "5000:5000"
environment:
- REGISTRY_STORAGE_DELETE_ENABLED:"true"
volumes:
- ./data:/var/lib/registry
restart: always
ui:
image: jc21/registry-ui
ports:
- 85:80
environment:
- REGISTRY_HOST=registry:5000
- REGISTRY_SSL=false
- REGISTRY_DOMAIN=localhost:5000
- REGISTRY_STORAGE_DELETE_ENABLED=true
links:
- registry:registry
restart: always
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment