Read-only mirror — the public repositories of the Forgejo instance, refreshed every 10 minutes. The live instance (fg.dieschoenewolke.de) is reachable only over the VPN; clone here with https://git.dieschoenewolke.de/git/<owner>/<repo>.git.
summaryrefslogtreecommitdiff
path: root/deploy/config.json
diff options
context:
space:
mode:
authoragent <agent@local>2026-11-07 09:00:55 +0100
committeragent <agent@local>2026-11-07 09:00:55 +0100
commit54541fa8357cf2af616effbaeb7d5b8d76f80ea2 (patch)
tree0be5059280b10545912e01081f7d95aaf9055623 /deploy/config.json
Public read-only distroless OCI mirror (zot + edge vhost + auditor)
Diffstat (limited to 'deploy/config.json')
-rw-r--r--deploy/config.json88
1 files changed, 88 insertions, 0 deletions
diff --git a/deploy/config.json b/deploy/config.json
new file mode 100644
index 0000000..642046a
--- /dev/null
+++ b/deploy/config.json
@@ -0,0 +1,88 @@
+{
+ "distSpecVersion": "1.1.1",
+ "storage": {
+ "rootDirectory": "/var/lib/registry",
+ "gc": true,
+ "gcDelay": "1h",
+ "dedupe": true
+ },
+ "http": {
+ "address": "0.0.0.0",
+ "port": "5000",
+ "realm": "distroless-mirror",
+ "accessControl": {
+ "repositories": {
+ "**": {
+ "anonymousPolicy": [
+ "read"
+ ]
+ }
+ }
+ }
+ },
+ "log": {
+ "level": "info",
+ "output": "/dev/stdout"
+ },
+ "extensions": {
+ "sync": {
+ "enable": true,
+ "downloadDir": "/var/lib/registry/.sync",
+ "registries": [
+ {
+ "urls": [
+ "https://gcr.io"
+ ],
+ "tlsVerify": true,
+ "onDemand": true,
+ "manifestCheckInterval": "30m",
+ "maxRetries": 3,
+ "retryDelay": "5m",
+ "maxRetryDelay": "30m",
+ "content": [
+ {
+ "prefix": "distroless/static",
+ "tags": {
+ "regex": "^(latest|nonroot|debug|debug-nonroot)$"
+ },
+ "platforms": [
+ "linux/amd64",
+ "linux/arm64"
+ ]
+ },
+ {
+ "prefix": "distroless/base",
+ "tags": {
+ "regex": "^(latest|nonroot|debug|debug-nonroot)$"
+ },
+ "platforms": [
+ "linux/amd64",
+ "linux/arm64"
+ ]
+ },
+ {
+ "prefix": "distroless/cc",
+ "tags": {
+ "regex": "^(latest|nonroot|debug|debug-nonroot)$"
+ },
+ "platforms": [
+ "linux/amd64",
+ "linux/arm64"
+ ]
+ },
+ {
+ "prefix": "distroless/python3",
+ "tags": {
+ "regex": "^(latest|nonroot|debug|debug-nonroot)$"
+ },
+ "platforms": [
+ "linux/amd64",
+ "linux/arm64"
+ ]
+ }
+ ]
+ }
+ ]
+ }
+ }
+}