TIME THIEF can optionally sync with a backend supporting the CouchDB replication protocol. This allows seamless backup and editing the same journal on multiple devices.
Syncing replicates all data and images to the server. Data is transmitted over https but stored unencrypted.
If you have a Linux server, you can run your own personal sync server.
This directory contains a basic Docker Compose setup for a single user. HTTPS is automatically set up via Let's Encrypt by the Caddy server.
- Launch a Linux server with Docker installed and point a DNS A record to it.
- Copy
example.env
to.env
and edit the configuration values. - Run
docker-compose up
. - During startup, the
couchdb
container will log: "CouchDB sync endpoint ready:" with your sync endpoint URL. Copy this into your TIME THIEF settings.
The docker-compose config creates two subdirectories:
caddy_data
: Caddy HTTPS certificate statecouchdb_data
: Your journal data, stored by CouchDB
If you have specific constraints, you may be better served by adapting the configuration here to swap in your own Caddy config or alternate load balancer.