Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Continuous deployment with Couchbase Mobile, Do...

Continuous deployment with Couchbase Mobile, Docker and Tutum

Avatar for James Nocentini

James Nocentini

August 19, 2015

More Decks by James Nocentini

Other Decks in Technology

Transcript

  1. Articles online suggest we should Iterate faster on Google Play

    with improved beta testing Iterate and Release Often
  2. Why Docker? • VMs take too long to spin up

    • Test with the same environment as production • You get this box that has all the dependencies locked into it
  3. Architecture requirements • Couchbase Server container to expose 8091 •

    Sync Gateway container to expose 4984 & 4985 • App Server to expose 8000 (optional)
  4. docker-compose • Run your stack with one command: docker- compose

    up • Describe your stack with one file: docker- compose.yml
  5. In the current version of docker compose there’s no way

    for container A to start once a specified TCP port on container B is open.
  6. Docker Hub Image repositories: $ docker build $ docker commit

    $ docker push Automated builds: • Hooks • Perfect for CD • Triggers