From 1f1da34e4aa68f336646aa20f80bfbe36ca0e91e Mon Sep 17 00:00:00 2001 From: bernhard Date: Wed, 1 Oct 2025 16:20:25 +0000 Subject: [PATCH] initial --- compose.yaml | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 compose.yaml diff --git a/compose.yaml b/compose.yaml new file mode 100644 index 0000000..526d9e0 --- /dev/null +++ b/compose.yaml @@ -0,0 +1,51 @@ +services: + + redis: + image: redis + networks: + - global + restart: unless-stopped + volumes: + - redis:/data + + main: + image: registry:latest + restart: unless-stopped + environment: + REGISTRY_STORAGE_FILESYSTEM_ROOTDIRECTORY: /data + OTEL_TRACES_EXPORTER: none + networks: + - global + ports: + - 5000:5000 + volumes: + - /nas/pikube/bwr.net/docker:/data + + ui: + image: joxit/docker-registry-ui:main + restart: unless-stopped + depends_on: + - main + - redis + environment: + SINGLE_REGISTRY: true + REGISTRY_TITLE: Registry bwr.net + DELETE_IMAGES: true + SHOW_CONTENT_DIGEST: true + NGINX_PROXY_PASS_URL: http://main:5000 + SHOW_CATALOG_NB_TAGS: true + CATALOG_MIN_BRANCHES: 1 + CATALOG_MAX_BRANCHES: 1 + TAGLIST_PAGE_SIZE: 100 + CATALOG_ELEMENTS_LIMIT: 1000 + networks: + - global + ports: + - 50001:80 + +networks: + global: + external: true + +volumes: + redis: \ No newline at end of file