A container registry that uses the AT Protocol for manifest storage and S3 for blob storage. atcr.io
docker container atproto go

fix prod docker compose

evan.jarrett.net 78207ba6 7cde02bf

verified
Changed files
+15 -14
deploy
+11 -10
deploy/.env.prod.template
··· 16 16 # REQUIRED: Update with your domain 17 17 APPVIEW_DOMAIN=atcr.io 18 18 19 - # Hold service domain (presigned URL generator) 20 - # REQUIRED: Update with your domain 21 - HOLD_DOMAIN=hold01.atcr.io 22 - 23 19 # ============================================================================== 24 20 # Hold Service Configuration 25 21 # ============================================================================== 22 + 23 + # Hold service domain (REQUIRED) 24 + # The hostname where the hold service will be accessible 25 + # Used by docker-compose.prod.yml to derive: 26 + # - HOLD_PUBLIC_URL: https://${HOLD_DOMAIN} 27 + # - ATCR_DEFAULT_HOLD_DID: did:web:${HOLD_DOMAIN} 28 + # Example: hold01.atcr.io 29 + HOLD_DOMAIN=hold01.atcr.io 26 30 27 31 # Your ATProto DID (REQUIRED for hold registration) 28 32 # Get your DID from: https://bsky.social/xrpc/com.atproto.identity.resolveHandle?handle=yourhandle.bsky.social ··· 126 130 # AppView Configuration 127 131 # ============================================================================== 128 132 129 - # Default hold service DID (REQUIRED) 130 - # This is automatically set by docker-compose.prod.yml to did:web:${HOLD_DOMAIN} 131 - # Only override this if you want to use a different default hold 132 - # Format: did:web:hostname[:port] 133 - # Example: did:web:hold01.atcr.io 134 - # Note: This is set automatically - no need to configure manually 133 + # Default hold service DID (derived from HOLD_DOMAIN in docker-compose.prod.yml) 134 + # Uncomment to override if you want to use a different hold service as the default 135 + # ATCR_DEFAULT_HOLD_DID=did:web:some-other-hold.example.com 135 136 136 137 # JWT token expiration in seconds 137 138 # Default: 300 (5 minutes)
+4 -4
deploy/docker-compose.prod.yml
··· 50 50 ATCR_BASE_URL: https://${APPVIEW_DOMAIN:-atcr.io} 51 51 ATCR_SERVICE_NAME: ${APPVIEW_DOMAIN:-atcr.io} 52 52 53 - # Storage configuration 54 - ATCR_DEFAULT_HOLD_DID: did:web:${HOLD_DOMAIN:-hold01.atcr.io} 53 + # Storage configuration (derived from HOLD_DOMAIN) 54 + ATCR_DEFAULT_HOLD_DID: ${ATCR_DEFAULT_HOLD_DID:-did:web:${HOLD_DOMAIN:-hold01.atcr.io}} 55 55 56 56 # Authentication 57 57 ATCR_AUTH_KEY_PATH: /var/lib/atcr/auth/private-key.pem ··· 91 91 container_name: atcr-hold 92 92 restart: unless-stopped 93 93 environment: 94 - # Hold service configuration 95 - HOLD_PUBLIC_URL: https://${HOLD_DOMAIN:-hold01.atcr.io} 94 + # Hold service configuration (derived from HOLD_DOMAIN) 95 + HOLD_PUBLIC_URL: ${HOLD_PUBLIC_URL:-https://${HOLD_DOMAIN:-hold01.atcr.io}} 96 96 HOLD_SERVER_ADDR: :8080 97 97 HOLD_ALLOW_ALL_CREW: ${HOLD_ALLOW_ALL_CREW:-false} 98 98 HOLD_PUBLIC: ${HOLD_PUBLIC:-false}