summaryrefslogtreecommitdiff
path: root/playbooks/roles/oci/templates/volumes/config.toml
blob: 6d2f1993df8d79d62233915c50ed4c172dfb3073 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
[server]
bind_address = "0.0.0.0"
port = 8000
streaming_chunk_size = "5MiB"

[lock_store.redis]
url = "redis://valkey:6379"
ttl = 5

[cache_store.redis]
url = "redis://valkey:6379"
ttl = 5

[storage.fs]
root_dir = "/images"

[observability.tracing]
endpoint = "http://127.0.0.1:4317"
sampling_rate = 1.0

[identity.ci]
username = "ci"
password = "{{ simple_registry_password_argon_encoded }}"

[identity.readonly]
username = "readonly"
password = "$argon2i$v=19$m=16,t=2,p=1$TjJyTEdIZUJ6dFZkdlZvSg$qf8vG09O93Z/9vUMCgWNtA" # readonly

[repository."img"]

[repository."img".access_policy]
default_allow = false
rules = [
    'request.action.startsWith("get-") || request.action.startsWith("list-") || identity.id == "ci"'
]