ghcr.io/sachnun/hugbucket. It runs in either S3 or FTP mode depending on the MODE environment variable.
Prerequisites
- Docker installed
- A Hugging Face token (
HF_TOKEN) with read/write access to your storage buckets
Running HugBucket
- S3 mode
- FTP mode
The S3 gateway listens on port 9000 and exposes an S3-compatible API.
1
Pull and run the container
2
Verify the gateway is running
Use the AWS CLI to list buckets through the local endpoint:
3
Upload a file
If
AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY are both left empty, S3 authentication is disabled and any client can connect without credentials. Set both to non-empty values to require authentication.Port reference
These are the ports declared with
EXPOSE in the Dockerfile. Publish only the ports relevant to your chosen mode.