refactor: simplify registry to basic setup

- Reduce to only registry:2 image
- Remove unnecessary configuration files
- Add basic .gitignore and env.example
- Keep only essential docker-compose configuration
This commit is contained in:
2025-11-05 04:30:59 -08:00
parent d8bfde5796
commit fa2df647c6
7 changed files with 30 additions and 99 deletions

View File

@@ -1,16 +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/*
# Create auth directory
RUN mkdir -p /etc/docker/registry/auth
# Copy custom entrypoint script
COPY entrypoint.sh /usr/local/bin/
RUN chmod +x /usr/local/bin/entrypoint.sh
ENTRYPOINT ["/usr/local/bin/entrypoint.sh"]
CMD ["/etc/docker/registry/config.yml"]