30 lines
729 B
30 lines
729 B
summary: "Authentication for docker Registry"
|
|
maintainer: "Valentin Lab <valentin.lab@kalysto.org>"
|
|
docker-image: docker.0k.io/docker-registry-auth:1.3.1
|
|
data-resources:
|
|
- /var/log/docker-auth
|
|
config-resources:
|
|
- /etc/docker-auth/
|
|
|
|
docker-compose:
|
|
command: /etc/docker-auth/config.yml
|
|
provides:
|
|
registry-auth:
|
|
|
|
default-options:
|
|
# users:
|
|
# mylogin: mypasswd
|
|
# acl:
|
|
# - match: {account: "admin"}
|
|
# actions: ["*"]
|
|
# comment: "Admin has full access to everything."
|
|
# - match: {account: "user"}
|
|
# actions: ["pull"]
|
|
# comment: "User \"user\" can pull stuff."
|
|
|
|
uses:
|
|
web-proxy:
|
|
#constraint: required | recommended | optional
|
|
constraint: recommended
|
|
solves:
|
|
proxy: "Public access"
|