···55This is a fork of the Cocoon PDS with the intention of making it a distributed PDS. You can read my thoughts on why I'm trying this POC out [here](https://willdot.leaflet.pub/3miiirzf7jc2j) and follow along the series for updates.
6677> [!WARNING]
88-I migrated and have been running my main account on this PDS for months now without issue, however, I am still not responsible if things go awry, particularly during account migration. Please use caution.
88+> I migrated and have been running my main account on this PDS for months now without issue, however, I am still not responsible if things go awry, particularly during account migration. Please use caution.
991010Cocoon is a PDS implementation in Go. It is highly experimental, and is not ready for any production use.
1111···173173- With `COCOON_S3_CDN_URL`: `getBlob` returns a 302 redirect to `{CDN_URL}/blobs/{did}/{cid}`
174174175175> **Tip**: For Cloudflare R2, you can use the public bucket URL as the CDN URL. For AWS S3, you can use CloudFront or the S3 bucket URL directly if public access is enabled.
176176+177177+#### Alpine based image
178178+179179+The default image is based on Debian. You can use the Alpine-based image if you prefer.
180180+181181+> [!NOTE]
182182+> Currently, we do not have pre-built Alpine-based image on the GitHub Container Registry. You have to build them locally.
183183+184184+In the compose file, replace every `dockerfile: Dockerfile` by `dockerfile: Dockerfile.alpine`, e.g.
185185+```yml
186186+services:
187187+ cocoon:
188188+ build:
189189+ context: .
190190+ dockerfile: Dockerfile.alpine
191191+```
192192+193193+You can also build the image locally with
194194+```bash
195195+docker build -f Dockerfile.alpine -t cocoon:alpine .
196196+```
176197177198### Management Commands
178199