mirror of
https://github.com/Dokploy/templates
synced 2025-06-26 18:16:07 +00:00
- Added 'yaml' and '@iarna/toml' dependencies in package.json. - Created a new script.js file to process YAML files and convert them to TOML format. - Added template.toml files for various blueprints in the blueprints directory.
19 lines
441 B
TOML
19 lines
441 B
TOML
[variables]
|
|
main_domain = "${domain}"
|
|
registry_http_secret = "${password:30}"
|
|
|
|
[[config.domains]]
|
|
serviceName = "registry"
|
|
port = 5_000
|
|
host = "${main_domain}"
|
|
|
|
[config.env]
|
|
REGISTRY_HTTP_SECRET = "${registry_http_secret}"
|
|
|
|
[[config.mounts]]
|
|
filePath = "/auth/registry.password"
|
|
content = """
|
|
# from: docker run --rm --entrypoint htpasswd httpd:2 -Bbn docker password
|
|
docker:$2y$10$qWZoWev/u5PV7WneFoRAMuoGpRcAQOgUuIIdLnU7pJXogrBSY23/2
|
|
"""
|