0
0
Fork 0
mirror of https://github.com/crazy-max/diun.git synced 2025-04-11 14:11:21 +00:00
crazy-max_diun/docs/config/regopts.md
CrazyMax db2bce3bb3
Docs website with mkdocs ()
* Fix build workflow

* Docs website with mkdocs ()

* Fix docs workflow

* Move mkdocs Docker file

* Ignore docs in build workflow

* Update workflows

* Update links

* Move upgrade notes to documentation

Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-06-19 22:47:17 +00:00

1.6 KiB

Registries options configuration

username

Registry username.

!!! example "Config file" yaml regopts: <name>: username: foo

!!! abstract "Environment variables" * DIUN_REGOPTS_<NAME>_USERNAME

usernameFile

Use content of secret file as registry username if username not defined.

!!! example "Config file" yaml regopts: <name>: usernameFile: /run/secrets/username

!!! abstract "Environment variables" * DIUN_REGOPTS_<NAME>_USERNAMEFILE

password

Registry password.

!!! example "Config file" yaml regopts: <name>: username: foo password: bar

!!! abstract "Environment variables" * DIUN_REGOPTS_<NAME>_PASSWORD

passwordFile

Use content of secret file as registry password if password not defined.

!!! example "Config file" yaml regopts: <name>: usernameFile: /run/secrets/username usernameFile: /run/secrets/password

!!! abstract "Environment variables" * DIUN_REGOPTS_<NAME>_PASSWORDFILE

timeout

Timeout is the maximum amount of time for the TCP connection to establish. (default 10s)

!!! example "Config file" yaml regopts: <name>: timeout: 10s

!!! abstract "Environment variables" * DIUN_REGOPTS_<NAME>_TIMEOUT

insecureTLS

Allow contacting docker registry over HTTP, or HTTPS with failed TLS verification. (default false)

!!! example "Config file" yaml regopts: <name>: insecureTLS: false

!!! abstract "Environment variables" * DIUN_REGOPTS_<NAME>_INSECURETLS