Anytype Bundle: Prepackaged All-in-One Self-Hosting
Anytype Bundle: Prepackaged All-in-One Self-Hosting
Self-host Anytype in 60 seconds. One command. Zero complexity.
any-sync-bundle is a prepackaged, all-in-one self-hosted server for Anytype – a local-first, privacy-focused alternative to Notion. It merges all official Anytype sync modules into a single binary for simplified deployment. Think of it as "K3s for Any Sync".
New to Anytype? It's a local-first, privacy-focused alternative to Notion. Learn more →
Replace 192.168.100.9 with:
192.168.1.100)sync.example.com)sync.example.com,192.168.1.100docker run -d \
-e ANY_SYNC_BUNDLE_INIT_EXTERNAL_ADDRS="192.168.100.9" \
-p 33010:33010 \
-p 33020:33020/udp \
-v $(pwd)/data:/data \
--stop-timeout 120 \
--restart unless-stopped \
ghcr.io/grishy/any-sync-bundle:1.6.0-2026-08-18After the first run, import ./data/client-config.yml into Anytype apps.
How to configure Anytype apps to use your self-hosted server? Client setup →
Who is this for?
Not for you if
Current version: v1.6.0-2026-08-18
Compatibility: Bundle configuration format 1 remains readable across 1.x releases.
Format: v[bundle-version]-[anytype-compatibility-date]
v1.6.0 – Bundle's semantic version (SemVer)2026-08-18 – Anytype any-sync compatibility date from anytype.io. Derived in UTC.| Image Tag | Description |
|---|---|
ghcr.io/grishy/any-sync-bundle:1.6.0-2026-08-18 |
All-in-one (embedded MongoDB/Redis) |
ghcr.io/grishy/any-sync-bundle:1.6.0-2026-08-18-minimal |
Minimal (external MongoDB/Redis, start your own) |
Latest tags (:latest, :minimal) are available, but explicit version tags are recommended. Better to use exact version and update your own.
Edit ANY_SYNC_BUNDLE_INIT_EXTERNAL_ADDRS in the compose file before starting.
| File | Description |
|---|---|
compose.aio.yml |
All-in-one with embedded MongoDB/Redis |
compose.external.yml |
Bundle + external MongoDB + Redis containers |
compose.s3.yml |
Bundle + MinIO for S3 storage |
compose.traefik.yml |
With Traefik reverse proxy |
# Pick one as example one of
docker compose -f compose.aio.yml up -d
docker compose -f compose.external.yml up -d
docker compose -f compose.s3.yml up -dThis is only with external MongoDB/Redis option.
./any-sync-bundle start-bundle \
--initial-external-addrs "192.168.100.9" \
--initial-mongo-uri "mongodb://127.0.0.1:27017/" \
--initial-redis-uri "redis://127.0.0.1:6379/" \
--initial-storage ./data/storageAll ANY_SYNC_BUNDLE_INIT* will be taked into account on start and later on baked into config.
| Variable | Purpose | Required |
|---|---|---|
ANY_SYNC_BUNDLE_INIT_EXTERNAL_ADDRS |
Advertised addresses | Yes |
ANY_SYNC_BUNDLE_INIT_MONGO_URI |
MongoDB connection | No |
ANY_SYNC_BUNDLE_INIT_REDIS_URI |
Redis connection | No |
ANY_SYNC_BUNDLE_INIT_S3_BUCKET |
S3 bucket name | No |
ANY_SYNC_BUNDLE_INIT_S3_ENDPOINT |
S3 endpoint URL | No |
ANY_SYNC_BUNDLE_INIT_S3_REGION |
S3 region (default: us-east-1) | No |
ANY_SYNC_BUNDLE_INIT_S3_FORCE_PATH_STYLE |
Path-style S3 URLs (for MinIO) | No |
ANY_SYNC_BUNDLE_INIT_FILENODE_DEFAULT_LIMIT |
Storage limit per space in bytes | No |
AWS_ACCESS_KEY_ID |
S3 credentials | No |
AWS_SECRET_ACCESS_KEY |
S3 credentials | No |
| File | Purpose | Backup? |
|---|---|---|
./data/bundle-config.yml |
Service config + private keys | Yes |
./data/client-config.yml |
Client config (regenerated on each start) | No |
By default, the bundle uses embedded BadgerDB. No configuration needed.
+ Zero configuration
+ No external dependencies
+ Lower latency
- Limited by local disk spaceUses the original Anytype upstream S3 implementation from any-sync-filenode.
+ Supports AWS S3, MinIO, DigitalOcean Spaces, Cloudflare R2, Backblaze B2
- Network latency
- Requires configurationEnable S3 with:
export AWS_ACCESS_KEY_ID="..."
export AWS_SECRET_ACCESS_KEY="..."
./any-sync-bundle start-bundle \
--initial-s3-bucket "my-bucket" \
--initial-s3-endpoint "https://s3.us-east-1.amazonaws.com"For MinIO, add --initial-s3-force-path-style. If your MinIO uses a custom
region, also add --initial-s3-region:
./any-sync-bundle start-bundle \
--initial-s3-bucket "my-bucket" \
--initial-s3-endpoint "http://minio:9000" \
--initial-s3-region "custom-region" \
--initial-s3-force-path-styleDocker Compose with MinIO:
docker compose -f compose.s3.yml up -d
# MinIO console: http://localhost:9001 (minioadmin/minioadmin)All parameters available as binary flags or environment variables. See ./any-sync-bundle --help.
Note:
--initial-*options are used only on first run to createbundle-config.yml. Subsequent starts read from the persisted config.
| Flag | Description |
|---|---|
--debug |
Enable debug mode with detailed logging |
‣ Default: false |
|
‣ Environment Variable: ANY_SYNC_BUNDLE_DEBUG |
|
--log-level |
Log level (debug, info, warn, error, fatal) |
‣ Default: info |
|
‣ Environment Variable: ANY_SYNC_BUNDLE_LOG_LEVEL |
|
--pprof |
Enable pprof HTTP server for profiling |
‣ Default: false |
|
‣ Environment Variable: ANY_SYNC_BUNDLE_PPROF |
|
--pprof-addr |
Address for pprof HTTP server (only used when --pprof is enabled) |
‣ Default: localhost:6060 |
|
‣ Environment Variable: ANY_SYNC_BUNDLE_PPROF_ADDR |
|
--help, -h |
Show help |
--version, -v |
Print the version |
| Command | Description |
|---|---|
start-bundle |
Start with external MongoDB/Redis |
start-all-in-one |
Start with embedded MongoDB/Redis (used in all-in-one container) |
| Flag | Description |
|---|---|
--bundle-config, -c |
Path to the bundle configuration YAML file |
‣ Default: ./data/bundle-config.yml |
|
‣ Environment Variable: ANY_SYNC_BUNDLE_CONFIG |
|
--client-config, --cc |
Path where write to the Anytype client configuration YAML file if needed |
‣ Default: ./data/client-config.yml |
|
‣ Environment Variable: ANY_SYNC_BUNDLE_CLIENT_CONFIG |
|
--initial-storage |
Initial path to the bundle data directory (must be writable) |
‣ Default: ./data/storage/ |
|
‣ Environment Variable: ANY_SYNC_BUNDLE_INIT_STORAGE |
|
--initial-external-addrs |
Initial external addresses for the bundle |
‣ Default: 192.168.8.214,example.local |
|
‣ Environment Variable: ANY_SYNC_BUNDLE_INIT_EXTERNAL_ADDRS |
|
--initial-mongo-uri |
Initial MongoDB URI for the bundle |
‣ Default: mongodb://127.0.0.1:27017/ |
|
‣ Environment Variable: ANY_SYNC_BUNDLE_INIT_MONGO_URI |
|
--initial-redis-uri |
Initial Redis URI for the bundle |
‣ Default: redis://127.0.0.1:6379/ |
|
‣ Environment Variable: ANY_SYNC_BUNDLE_INIT_REDIS_URI |
|
--initial-s3-bucket |
S3 bucket name |
‣ Environment Variable: ANY_SYNC_BUNDLE_INIT_S3_BUCKET |
|
--initial-s3-endpoint |
S3 endpoint URL |
‣ Environment Variable: ANY_SYNC_BUNDLE_INIT_S3_ENDPOINT |
|
--initial-s3-region |
S3 region for request signing |
‣ Default: us-east-1 |
|
‣ Environment Variable: ANY_SYNC_BUNDLE_INIT_S3_REGION |
|
--initial-s3-force-path-style |
Use path-style S3 URLs (required for MinIO) |
‣ Default: false |
|
‣ Environment Variable: ANY_SYNC_BUNDLE_INIT_S3_FORCE_PATH_STYLE |
|
--initial-filenode-default-limit |
Storage limit per space in bytes |
‣ Default: 1099511627776 (1 TiB) |
|
‣ Environment Variable: ANY_SYNC_BUNDLE_INIT_FILENODE_DEFAULT_LIMIT |
Backup:
Take a backup only after a successful clean stop.
docker compose -f compose.aio.yml stop
# ConfirmNo open issues yet, or sync has not completed.