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

Docker at MoneyBird

Avatar for Don Pinkster Don Pinkster
February 24, 2015

Docker at MoneyBird

How we are using Docker in our development, ci and production environments.

Inspiration:
- http://www.shopify.com/technology/15934308-docker-at-shopify-how-we-built-containers-that-power-over-100-000-online-shops

Avatar for Don Pinkster

Don Pinkster

February 24, 2015
Tweet

More Decks by Don Pinkster

Other Decks in Technology

Transcript

  1. Development • Vagrant
 Custom 14.04 box (investigating boot2docker) • Maestro


    Container dependencies • Haproxy
 Docker containers as backup, local servers as main • Custom shells scripts for starting/stopping/updating
  2. CI • BuildKite
 Hosted interface, build agents on your own

    server polling for new jobs • Docker
 ./bin/build_image with Dockerfile in app, push to registry with SHA1 commit as tag • Tests
 Execution in container, if successful tags image with branch name
  3. Production • AWS • Chef • Hosted PostgreSQL, Redis and

    MemCached • Elastic LoadBalancers • Upstart
 service moneybird-app start • Configuration via ENV • Monitoring with Datadog • Logging with Graylog