No description
.env-example | ||
docker-compose.yaml | ||
fxsync.service | ||
LICENSE | ||
nginx-example-com.conf | ||
README.md |
fxsync-docker
This repository is holding a working docker-compose setup for documentation pourpuses because syncstorage-rs's documentation is not very good to explain how to self host the new rust syncserver.
With help of it you can self host the new Firefox sync server, which is written in Rust and replaces the old python one, which is deprecated.
Background
syncstorage-rs
has a docker release on docker-hub
but it also needs a database to run, which this docker-compose.yaml helps setting up and connecting.
Theoretically you could run Firefox Account yourself, but for login this project relies on the Mozilla servers, because setting up and configuring it is quite complex but it does not give much more security.
Setup
- Clone this repositoy
- Copy .env-example into .env (including the dot at the beginning of the file)
- Put in (random) passwords into .env
- Put in the domain where you will run your sync server into .env
- Setup your reverse proxy server (see nginx-example-com.conf)
- Install the systemd service (see fxsync.service) and enable it
Setup your Firefox
- In about:config search for identity.sync.tokenserver.uri
- Change it from the default to https://fxsync.example.com/1.0/sync/1.5
- Log in to Firefox and start syncing.