From 56e55fb38163ea61c53b5d79649f1b6ea623800b Mon Sep 17 00:00:00 2001 From: zramsay Date: Tue, 23 Jul 2024 17:22:07 -0400 Subject: [PATCH] add container-registry stack --- .../compose/docker-compose-container-registry.yml | 14 ++++++++++++++ .../stacks/container-registry/stack.yml | 5 +++++ 2 files changed, 19 insertions(+) create mode 100644 stack-orchestrator/compose/docker-compose-container-registry.yml create mode 100644 stack-orchestrator/stacks/container-registry/stack.yml diff --git a/stack-orchestrator/compose/docker-compose-container-registry.yml b/stack-orchestrator/compose/docker-compose-container-registry.yml new file mode 100644 index 0000000..27b7371 --- /dev/null +++ b/stack-orchestrator/compose/docker-compose-container-registry.yml @@ -0,0 +1,14 @@ +services: + registry: + image: docker.io/library/registry:2.8 + restart: always + environment: + REGISTRY_LOG_LEVEL: ${REGISTRY_LOG_LEVEL} + volumes: + - config:/config:ro + - registry-data:/var/lib/registry + ports: + - '5000' +volumes: + config: + registry-data: diff --git a/stack-orchestrator/stacks/container-registry/stack.yml b/stack-orchestrator/stacks/container-registry/stack.yml new file mode 100644 index 0000000..217fcb3 --- /dev/null +++ b/stack-orchestrator/stacks/container-registry/stack.yml @@ -0,0 +1,5 @@ +version: "1.0" +name: container-registry +description: "Container registry stack" +pods: + - container-registry