Simplify Development with Docker

Before Docker

The Pain Points

  1. Developers have to keep meticulous track of dependencies. Especially for services.
  2. It’s very hard to communicate changes with the team.
  3. Special scripts have to be written (and developers have to remember to run them!)

There Has to Be a Better Way

Just Use Docker

An Example

  1. Install Docker
  2. Get your secrets set up in an untracked settings.json file or env vars
  3. Run ./launch.sh
# Create some SSL certs since our front end uses WebRTC
bash ./create-ssl-certs.sh
# Build in case there were any changes to the Docker Compose or Dockerfiles
docker-compose build
# Run!
docker-compose up

Wrapping Up

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store