Update README

Added link to Dockerhub, add 'mozilla' before each of the package names to prevent 

"Error response from daemon: pull access denied for syncserver, repository does not exist or may require 'docker login': denied: requested access to the resource is denied"
pull/185/head
Brett 5 years ago committed by GitHub
parent 29b5fb4e97
commit a40e807a79
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -101,6 +101,8 @@ to install an appropriate python module, e.g::
Runner under Docker
-------------------
[Dockerhub Page](https://hub.docker.com/r/mozilla/syncserver)
There is experimental support for running the server inside a Docker
container. The docker image runs with UID/GID 1001/1001.
Build the image like this::
@ -118,7 +120,7 @@ environmet variables, like this::
-e SYNCSERVER_BATCH_UPLOAD_ENABLED=true \
-e SYNCSERVER_FORCE_WSGI_ENVIRON=false \
-e PORT=5000 \
syncserver:latest
mozilla/syncserver:latest
Don't forget to `generate a random secret key <https://mozilla-services.readthedocs.io/en/latest/howtos/run-sync-1.5.html#further-configuration>`_
to use in the `SYNCSERVER_SECRET` environment variable!
@ -140,7 +142,7 @@ If you'd like a persistent setup, you can mount a volume as well::
-e SYNCSERVER_BATCH_UPLOAD_ENABLED=true \
-e SYNCSERVER_FORCE_WSGI_ENVIRON=false \
-e PORT=5000 \
syncserver:latest
mozilla/syncserver:latest
Make sure that /syncserver is owned by 1001:1001

Loading…
Cancel
Save