Skip to content

Instantly share code, notes, and snippets.

@Hounddog
Created September 23, 2016 10:10
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 Hounddog/9a052ca8e3727011933143d3d3107149 to your computer and use it in GitHub Desktop.
Save Hounddog/9a052ca8e3727011933143d3d3107149 to your computer and use it in GitHub Desktop.
version: 0.1
log:
fields:
service: registry
storage:
cache:
blobdescriptor: inmemory
filesystem:
rootdirectory: /var/lib/registry
delete:
enabled: true
http:
addr: :5000
headers:
X-Content-Type-Options: [nosniff]
health:
storagedriver:
enabled: true
interval: 10s
threshold: 3
reflex-registry:
restart: always
container_name: reflex-registry
image: reflex-docker-hub.hannover-re.com/infra/reflex-registry:2.4.1
volumes:
- ./storage:/var/lib/registry
- ./config.yml:/etc/docker/registry/config.yml
ports:
- 127.0.0.10:5000:5000
reflex-registry-frontend:
restart: always
container_name: reflex-registry-frontend
image: reflex-docker-hub.hannover-re.com/infra/reflex-registry-frontend:v2
links:
- reflex-registry
ports:
- 10.160.143.3:8080:80
environment:
- ENV_DOCKER_REGISTRY_HOST=reflex-registry
- ENV_DOCKER_REGISTRY_PORT=5000
- ENV_DEFAULT_REPOSITORIES_PER_PAGE=100
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment