mirror of
https://github.com/0xGingi/syncstorage-rs-docker.git
synced 2026-09-21 11:54:14 -04:00
No description
- Shell 75.5%
- Dockerfile 24.5%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| docker-compose.yml | ||
| Dockerfile | ||
| entrypoint.sh | ||
| initdb.sh | ||
| README.md | ||
syncstorage-rs-docker
A simple Docker container to get started with mozilla-services/syncstorage-rs to self-host a Firefox sync server.
Tested on Alma Linux + Nginx Reverse Proxy
Working on Both Desktop and Mobile
Getting started
- Clone this repo
git clone https://github.com/0xGingi/syncstorage-rs-docker.git
cd syncstorage-rs-docker
- Build the container
docker compose build
-
Modify docker-compose.yml, changing the database password, generating a random SYNC_MASTER_SECRET & METRICS_HASH_SECRET and setting SYNC_URL.
-
Bring up the database
docker compose up -d mariadb
- Create the two databases using initdb.sh. You'll need to provide your MariaDB root password.
chmod +x initdb.sh
./initdb.sh
- Bring up the rest of the compose stack
docker compose up -d
-
Go to about:config in Firefox and set identity.sync.tokenserver.uri to http://YOURHOSTNAME:8000/1.0/sync/1.5
-
Try to sync! (May need to logout of Firefox and Exit Browser then relogin else it will fail!)