Rust implementation of OCI Distribution Spec with granular access control

improve dockerfile, caddyfile

+1 -3
-2
caddy/Caddyfile
··· 1 1 # Replace 'your-registry.example.com' with your real domain 2 2 # Caddy will automatically obtain TLS certificates for this domain via Let's Encrypt 3 3 # and reverse-proxy traffic to the grain service on port 8888 (same Docker network) 4 - # Note: Caddy passes the Authorization header through by default - do NOT use header_up 5 - # directives as they can cause literal placeholder strings to be passed instead of values 6 4 7 5 your-registry.example.com { 8 6 # Allow large uploads for container images
+1 -1
docker-compose.yml
··· 3 3 image: ghcr.io/pierrelefevre/grain:latest 4 4 container_name: grain-registry 5 5 ports: 6 - - "8888:8888" 6 + - "127.0.0.1:8888:8888" 7 7 restart: unless-stopped 8 8 environment: 9 9 - RUST_LOG=info