MinIO (S3)
Store files in S3-compatible object storage with a web console.
- storage
- s3
Run it
briq run miniobriq_run({ recipe: "minio", wait: true })curl -X POST https://api.briq.cloud/v1/briqs \
-H "Authorization: Bearer $BRIQ_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"recipe": "minio",
"wait": true
}'
# → { "briqs": [{ "id": "bq_…", … }], "outputs": { "S3_ENDPOINT": "…" }, … }
# ... when done, for each briq id
curl -X DELETE https://api.briq.cloud/v1/briqs/<id> \
-H "Authorization: Bearer $BRIQ_API_KEY"stack: app
services:
minio:
recipe: minio
# its defaults, each a field you can set:
# image: pgsty/minio:RELEASE.2026-08-04T00-00-00Z
# size: small
# volume: { gb: 5 }Fields
| Name | Type | Options | Default |
|---|---|---|---|
| image | string | — | "pgsty/minio:RELEASE.2026-08-04T00-00-00Z" |
| env | record | { key: string | { secret, value?, literal?, scope?, hosts?, locations? } } | {} |
| cmd | string | string[] | — | — |
| size | enum | pico, micro, nano, small, medium, large, xlarge | "small" |
| volume | object | { gb? } | {"gb":5} |
| files | record | { key: string | { base64 } } | — |
| egress | object | { hosts } | — |
Outputs
Returned by briq_run once the stack is healthy. Hosts resolve inside your team network; secrets are generated per run.
- S3_ENDPOINT
- http://minio.<stack>.internal:9000
- S3_ACCESS_KEY_ID
- minio
- S3_SECRET_ACCESS_KEY
- <MINIO_ROOT_PASSWORD>
- S3_BUCKET
- app
- S3_REGION
- us-east-1
- MINIO_CONSOLE
- http://minio.<stack>.internal:9001
What it runs
| Briq | Image | Ports | Size | Volume |
|---|---|---|---|---|
| minio | pgsty/minio:RELEASE.2026-08-04T00-00-00Z | 9000, 9001 | small | 5 GB at /data |
When to use it
- Your code uploads to S3 and you want a real bucket without AWS credentials.
- Presigned URLs, multipart uploads or bucket policies must behave like S3.
The bucket is created at boot. Outputs follow AWS SDK naming.
Tips
- Path style: set
forcePathStyle: true(AWS SDK v3) ors3ForcePathStyle(v2). - Region
us-east-1, as in the outputs. - Console for a human:
briq_run({ recipe: "minio", expose: "private" })returns its URL. - Presigned URLs carry the private host. If a browser must use them, expose port 9000 instead of the console and sign against that URL: a briq has one URL, and moving it to another port restarts the briq.
- Image:
pgsty/minio, the maintained community build, since MinIO stopped publishing community images. - More storage: the volume starts small; set
volume: { gb: 50 }. Set it when the briq is created, and it counts toward your plan's disk.