Package-Manager: portage-2.2.28
exeinto /usr/libexec/${PN}
doexe "${S}"/bin/*
insinto /etc/docker/registry
- newins "${FILESDIR}/config.yml" config.yml.example
+ newins "${S}"/src/${EGO_PN%/*}/cmd/registry/config-example.yml config.yml.example
newinitd "${FILESDIR}/${SVCNAME}.initd" "${SVCNAME}"
newconfd "${FILESDIR}/${SVCNAME}.confd" "${SVCNAME}"
systemd_dounit "${FILESDIR}/${SVCNAME}.service"
+++ /dev/null
-version: 0.1
-log:
- fields:
- service: registry
-storage:
- cache:
- blobdescriptor: inmemory
- filesystem:
- rootdirectory: /var/lib/registry
-http:
- addr: :5000
- headers:
- X-Content-Type-Options: [nosniff]
-health:
- storagedriver:
- enabled: true
- interval: 10s
- threshold: 3