Add new infra architecture

This commit is contained in:
Urtzi Alfaro
2026-01-19 11:55:17 +01:00
parent 21d35ea92b
commit 35f164f0cd
311 changed files with 13241 additions and 3700 deletions

View File

@@ -0,0 +1,22 @@
# Local Docker Registry for Bakery-IA
# Simple registry to cache base images and reduce Docker Hub usage
FROM registry:2
# Configure registry for local development
ENV REGISTRY_STORAGE_FILESYSTEM_ROOTDIRECTORY=/var/lib/registry
ENV REGISTRY_HTTP_SECRET=development-secret
ENV REGISTRY_HTTP_ADDR=0.0.0.0:5000
# Create directory for registry data
RUN mkdir -p /var/lib/registry
# Expose registry port
EXPOSE 5000
# Health check
HEALTHCHECK --interval=30s --timeout=3s \
CMD wget -q --spider http://localhost:5000/v2/ || exit 1
# Run registry
CMD ["registry", "serve", "/etc/docker/registry/config.yml"]