Local Filesystem Storage â
The local backend stores packages on the server's local disk. The server also serves them over HTTP via a built-in static file route.
Development Only
The local backend is intended for development and E2E testing only. It does not scale horizontally â packages on one server instance are not available to other instances. Use S3, GitHub Releases, or a custom backend in production.
Configuration â
toml
[object_store]
backend = "local"
[object_store.local]
# Absolute directory where uploaded packages are stored on disk
base_dir = "/tmp/agentverse-packages"
# HTTP URL prefix the server uses to construct download URLs.
# Must match a static-file route served by the same server.
# No trailing slash.
serve_url = "http://localhost:8080/files"The server automatically serves files from base_dir at the path GET /files/*.
Environment Variables â
bash
# Override at runtime (uses default sub-keys)
OBJECT_STORE_BACKEND=local
# Override specific values via config override (if supported by your config layer)Docker Compose Example â
yaml
services:
server:
image: ghcr.io/loonghao/agentverse:latest
environment:
OBJECT_STORE_BACKEND: local
volumes:
# Persist packages across container restarts
- agentverse_packages:/tmp/agentverse-packages
volumes:
agentverse_packages:File Layout â
Packages are stored as:
/tmp/agentverse-packages/
âââ <namespace>/
âââ <name>/
âââ <version>.zipAnd served at:
http://localhost:8080/files/<namespace>/<name>/<version>.zipLimitations â
- No CDN â all traffic goes through the server process
- No replication â single point of failure
- No access control â files are publicly accessible at the static URL
- Disk space â you are responsible for managing disk usage