This is taken from https://github.com/nrobinaubertin/dockerfiles for the purpase of creating an automated build for dockerbunker
All credit goes to nrobinaubertin. Original README.md below.
Simple, lightweight and secure SyncServer container based on Alpine linux.

This is an all-in-one package for running a self-hosted Firefox Sync server. It bundles the "tokenserver" project for authentication and the "syncstorage" project for storage, produce a single stand-alone webapp.
You can find the repository of the service here.
This container should be as simple as possible to set up.
It does not require any volume since your browser keeps the data during downtime.
As secure as I can make it.
Example command to build this image:
docker build -t sync .
Example command to run this container:
docker run -d -p 5000:5000 -e URL=https://sync.example.com --name sync sync
You can now open a new tab in firefox, go to about:config, search for the identity.sync.tokenserver.uri preference and change the value to https://sync.example.com:5000/token/1.0/sync/1.5
Firefox should now sync with your server.
Content type
Image
Digest
Size
51.1 MB
Last updated
about 7 years ago
docker pull chaosbunker/firefox-sync-server-docker