syncserver with Docker
bwong at mozilla.com
Thu Jan 11 22:00:43 UTC 2018
I was the one that originally created the Docker container for
server-syncstorage. I created it so I could easily run the functional tests
against a prototype golang implementation of the server.
The docker containers are here:
The containers are automatically built, tested and published from CircleCI
when we cut a new release. They contain the same code as we run in
production so they should work.
There's no docs :(, but these tips/examples should get you started:
The docker-entrypoint.sh has most of the logic for running the container.
So you should be able to:
> docker run mozilla/server-syncstorage:v1.6.12 server
and it'll run with the default example.ini configuration.
If you want to use your own configuration you can:
> docker run -v '/local/path/to/config.ini:/app/config.ini' -e
- this mounts your local config file into the docker container
- tells it where it is via the SYNC_SETTINGS_FILE environment variable
Here's how I use the docker container to test my prototype go-syncstorage
Let me know if you have any more questions / run into any issues.
On Thu, Jan 11, 2018 at 1:40 PM, Dominik Erdmann <mozilla at der-domi.de>
> I see that Mozilla offers a lot of Docker images:
> But for no one is a documentation available. I'm new with Docker and want
> to test. Can you please help me to find some infos?
> Sync-dev mailing list
> Sync-dev at mozilla.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Sync-dev