Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
A

any-sync-bundle

> DevOps
Open source

Anytype Bundle: Prepackaged All-in-One Self-Hosting

646 stars0 likes1 views
WebsiteGitHub

About

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 →

TL;DR

Replace 192.168.100.9 with:

  • Your server's local IP for LAN-only access (e.g., 192.168.1.100)
  • Your public domain for remote access (e.g., sync.example.com)
  • Both (comma-separated) for flexibility: sync.example.com,192.168.1.100
bash
docker 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-18

After the first run, import ./data/client-config.yml into Anytype apps.

How to configure Anytype apps to use your self-hosted server? Client setup →

Overview

Key Features

  • Easy to start: A single command to launch the server
  • All-in-one option: All services in a single container or in separate binaries
  • Zero-config: Sensible defaults, configurable when needed
  • Lightweight: No required MinIO, and no duplicate logical services
  • Only 2 open ports: TCP 33010 (DRPC protocol) and UDP 33020 (QUIC protocol)

Who is this for?

  • Self-hosters who value simplicity over complexity
  • Low resource Homelab setups and Raspberry Pi deployments

Not for you if

  • You need high-availability clustering across multiple nodes
  • You require horizontal scaling beyond a single server
  • You want to use the official Anytype architecture as-is

Architecture

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.

Installation

Container Images

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.

Docker Compose

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
bash
# 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 -d

Binary

This is only with external MongoDB/Redis option.

  1. Download from the Release page
  2. Run:
bash
./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/storage

Configuration

Reference

All 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

Configuration Files

File Purpose Backup?
./data/bundle-config.yml Service config + private keys Yes
./data/client-config.yml Client config (regenerated on each start) No

Storage Options

Local Storage (Default)

By default, the bundle uses embedded BadgerDB. No configuration needed.

+ Zero configuration
+ No external dependencies
+ Lower latency
- Limited by local disk space

S3 Storage (Optional)

Uses the original Anytype upstream S3 implementation from any-sync-filenode.

+ Supports AWS S3, MinIO, DigitalOcean Spaces, Cloudflare R2, Backblaze B2
- Network latency
- Requires configuration

Enable S3 with:

bash
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:

bash
./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-style

Docker Compose with MinIO:

bash
docker compose -f compose.s3.yml up -d
# MinIO console: http://localhost:9001 (minioadmin/minioadmin)

Parameters

All parameters available as binary flags or environment variables. See ./any-sync-bundle --help.

Note: --initial-* options are used only on first run to create bundle-config.yml. Subsequent starts read from the persisted config.

Global Flags

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

Commands

Command Description
start-bundle Start with external MongoDB/Redis
start-all-in-one Start with embedded MongoDB/Redis (used in all-in-one container)

Start Command Flags

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

Operations

Backup & Recovery

Backup:

Take a backup only after a successful clean stop.

bash
docker compose -f compose.aio.yml stop
# Confirm

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

Goall-in-oneanytypedockerfreebsd

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
CategoryDevOps
PricingOpen source

> Related tools

D
Docker
容器化平台,标准化应用交付
G
GitHub Actions
GitHub 原生 CI/CD 工作流
N
Nginx
高性能 Web 服务器与反向代理