From 4413b56ec4f5079402b0e180883c24e26b427821 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Kucharczyk?= Date: Tue, 5 Dec 2023 12:47:50 +0100 Subject: [PATCH] registry: add --- docker-compose.yml | 1 + services/registry.yml | 14 ++++++++++++++ 2 files changed, 15 insertions(+) create mode 100644 services/registry.yml diff --git a/docker-compose.yml b/docker-compose.yml index 4af6142..b5f69eb 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -16,6 +16,7 @@ include: - services/openldap.yml - services/prowlarr.yml - services/netbootxyz.yml + - services/registry.yml services: diff --git a/services/registry.yml b/services/registry.yml new file mode 100644 index 0000000..682b35a --- /dev/null +++ b/services/registry.yml @@ -0,0 +1,14 @@ +--- +services: + registry: + image: registry:latest + container_name: registry + networks: + public: + ipv4_address: 192.168.240.45 + volumes: + - "${DOCKER_STORAGE_PATH}/registry/data:/var/lib/registry" + - "${DOCKER_STORAGE_PATH}/registry/config.yml:/etc/docker/registry/config.yml" + profiles: + - base + restart: unless-stopped