Files
zeekay a485f34a14 rebrand: complete litestream -> replicate rename
- All source files, configs, docs, CI renamed
- Binary: replicate (not litestream)
- Config: replicate.yml (litestream.yml as fallback)
- Env: REPLICATE_* (LITESTREAM_* as fallback)
- Socket: /var/run/replicate.sock
- Image: ghcr.io/hanzoai/replicate
- Module: github.com/hanzoai/replicate
- Package name: replicate (Go), replicate-vfs (npm/pip/gem)
- VFS: registered as "replicate", pragmas replicate_*
- C exports: ReplicateVFSRegister, GoReplicate*
- Windows service: Replicate
- Systemd unit: replicate.service
- Upstream attribution preserved (README, upgrade test scripts)
2026-04-09 18:03:37 -07:00

35 lines
1.6 KiB
YAML

# AWS credentials
# access-key-id: AKIAxxxxxxxxxxxxxxxx
# secret-access-key: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/xxxxxxxxx
# Control socket for runtime start/stop commands
# socket:
# enabled: true # Enable control socket (default: false)
# path: /var/run/replicate.sock # Socket path (default: /var/run/replicate.sock)
# permissions: 0600 # Socket file permissions (default: 0600)
# dbs:
# - path: /path/to/primary/db # Database to replicate from
# replica:
# path: /path/to/replica # File-based replication
# url: s3://my.bucket.com/db # S3-based replication
# # Example Fly.io Tigris setup (signing/no-Content-MD5 are auto-enabled for this endpoint)
# # url: s3://my-tigris-bucket/db.sqlite?endpoint=fly.storage.tigris.dev&region=auto
# type: nats # NATS JetStream replication
# url: nats://nats.example.com:4222
# bucket: replicate-backups
# # Optional TLS configuration:
# # client-cert: /path/to/client.pem
# # client-key: /path/to/client.key
# # root-cas: [/path/to/ca.pem]
# - path: /path/to/another/db
# replica:
# url: sftp://user@host:22/path # SFTP-based replication
# key-path: /etc/replicate/sftp_key
# # Strongly recommended: SSH host key for verification
# # Get this from the server's /etc/ssh/ssh_host_*.pub file
# # or use `ssh-keyscan hostname`
# # Example formats:
# # host-key: ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIMvvypUkBrS9RCyV//p+UFCLg8yKNtTu/ew/cV6XXAAP
# # host-key: ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQ...