Compare commits

..

1 Commits

Author SHA1 Message Date
9dc42de818 Merge pull request 'refactor: simplify registry to basic setup' (#1) from debug into main
Reviewed-on: #1
2025-11-05 12:36:45 +00:00
3 changed files with 1 additions and 26 deletions

View File

@@ -1,6 +0,0 @@
FROM registry:2
# Install Apache utilities for htpasswd management
RUN apt-get update && apt-get install -y \
apache2-utils \
&& rm -rf /var/lib/apt/lists/*

View File

@@ -1,18 +0,0 @@
version: 0.1
log:
fields:
service: registry
storage:
cache:
blobdescriptor: inmemory
filesystem:
rootdirectory: /var/lib/registry
http:
addr: :5000
headers:
X-Content-Type-Options: [nosniff]
health:
storagedriver:
enabled: true
interval: 10s
threshold: 3

View File

@@ -2,14 +2,13 @@ version: '3.8'
services: services:
registry: registry:
build: . image: registry:2
container_name: registry container_name: registry
restart: unless-stopped restart: unless-stopped
expose: expose:
- "5000" - "5000"
volumes: volumes:
- registry-data:/var/lib/registry - registry-data:/var/lib/registry
- ./config.yml:/etc/docker/registry/config.yml
networks: networks:
- registry-network - registry-network