This repo is obsoleted due to syncserver doesn't work on python 3 Docker image for Mozilla Sync Server
1.8.0-20190308
,latest
- Mozilla SyncServer 1.8.0
To run container you can use following command:
docker run \
-v /home/docker/ffsync:/home/ffsync \
-p 127.0.0.1:5000:5000 \
-d sunx/mozilla-syncserver-docker
Containers, based on this image will automatically create configuration file for Mozilla Syncserver with SQLite database.
This image uses 1 tcp ports:
- 5000 - Standart port of Mozilla Syncsrver
This image uses one volume with internal path /home/ffsync
, it will store configuration file and SQLite database here
I would recommend you use host directory mapping of named volume to run containers, so you will not lose your valuable data after image update and starting new container
Mozilla Syncserver could work without any web-server, but I'd recommend you to use some web-server oh your host machine to add HTTPS support.
For frontend webserver configuration you can read official Mozilla Syncserver manual
On first run of container you can use following ENV variables for Mozilla Syncerver configuration:
PUBLIC_URL
=<http[s]://.../> - public URL of your server, i.e. the URL as seen by Firefox. Default:http://<container_hostname>/
.
To configure desktop Firefox to talk to your new Sync server, go to about:config
, search for identity.sync.tokenserver.uri
and change its value to the URL of your server with a path of token/1.0/sync/1.5
:
identity.sync.tokenserver.uri: http://sync.example.com/token/1.0/sync/1.5
More details you can find in Official Manual
This Dockerfile and scripts are released under MIT License.
Mozilla Syncserver has its own license.