templates/blueprints/registry/template.yml
2025-03-09 20:40:08 -06:00

18 lines
467 B
YAML

variables:
main_domain: ${randomDomain}
registry_http_secret: ${generatePassword(30)}
config:
domains:
- serviceName: registry
port: 5000
host: ${main_domain}
env:
REGISTRY_HTTP_SECRET: ${registry_http_secret}
mounts:
- filePath: /auth/registry.password
content: |
# from: docker run --rm --entrypoint htpasswd httpd:2 -Bbn docker password
docker:$2y$10$qWZoWev/u5PV7WneFoRAMuoGpRcAQOgUuIIdLnU7pJXogrBSY23/2