Skip to content

Instantly share code, notes, and snippets.

@kvaps
Created April 24, 2020 22:17
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 kvaps/637ca2e192a9300bfe14bda353a6db7f to your computer and use it in GitHub Desktop.
Save kvaps/637ca2e192a9300bfe14bda353a6db7f to your computer and use it in GitHub Desktop.
version: 0.1
log:
level: info
fields:
service: registry
storage:
cache:
layerinfo: redis
filesystem:
rootdirectory: /storage
maintenance:
uploadpurging:
enabled: false
delete:
enabled: true
redis:
addr: redis:6379
password:
db: 1
http:
addr: :5000
secret: placeholder
debug:
addr: localhost:5001
+ tls:
+ certificate: /etc/registry/server.crt
+ key: /etc/registry/server.key
auth:
token:
- issuer: harbor-token-issuer
- realm: https://harbor.example.org/service/token
+ issuer: gitlab-issuer
+ realm: https://gitlab.example.org/jwt/auth
rootcertbundle: /etc/registry/root.crt
- service: harbor-registry
+ service: container_registry
validation:
disabled: true
notifications:
endpoints:
- name: harbor
disabled: false
url: http://core:8080/service/notifications
timeout: 3000ms
threshold: 5
backoff: 1s
compatibility:
schema1:
enabled: true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment