Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jeena/fxsync-docker
Docker compose and other useful files for selfhosting of Firefox sync server
https://github.com/jeena/fxsync-docker
docker firefox mozilla rust sync
Last synced: 12 days ago
JSON representation
Docker compose and other useful files for selfhosting of Firefox sync server
- Host: GitHub
- URL: https://github.com/jeena/fxsync-docker
- Owner: jeena
- License: gpl-3.0
- Created: 2023-09-22T10:47:45.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-10-16T23:53:43.000Z (about 1 year ago)
- Last Synced: 2024-08-17T08:04:53.157Z (3 months ago)
- Topics: docker, firefox, mozilla, rust, sync
- Homepage:
- Size: 21.5 KB
- Stars: 90
- Watchers: 4
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# fxsync-docker
This repository is holding a working docker-compose setup for documentation purposes
because [syncstorage-rs](https://github.com/mozilla-services/syncstorage-rs)'s documentation
is not very good to explain how to self host the new mozilla 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
Firefox browser data can be synced across devices. The sync service is normally provided by Mozilla.
This is selfhosted alternative server written in Rust and dockerized for easier deployment.`syncstorage-rs` has a [docker release on docker-hub](https://hub.docker.com/r/mozilla/syncstorage-rs/)
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
1. Clone this repositoy
2. Copy .env-example into .env (including the dot at the beginning of the file)
3. Put in (random) passwords into .env
4. Put in the domain where you will run your sync server into .env
5. Setup your reverse proxy server (see nginx-example-com.conf)
6. Install the systemd service (see fxsync.service) and enable it### Setup your Firefox
1. In [about:config](about:config) search for identity.sync.tokenserver.uri
2. Change it from the default to https://fxsync.example.com/1.0/sync/1.5
3. Log in to Firefox and start syncing.