adhocteam / soapbox

Apache License 2.0
11 stars 3 forks source link

Docker Compose fixes (fixed from #149) #151

Closed nickclyde closed 7 years ago

nickclyde commented 7 years ago

This is a bunch of fixes needed to actually allow the Docker Compose setup to build and deploy applications.

  1. The first commit is cherry picked from #147, which fixes validation on the GitHub repo select to allow selecting private repos.
  2. The second commit is also cherry picked from #147, and it outputs the correct dir from init_app_tf.sh to allow terraform to initialize correctly.
  3. Updated docker-compose.yml to pull AWS credentials from gitignored .env, and added an empty .env.sample
  4. Configured the soapboxd container to pull the latest version of terraform
  5. Attached the local docker socket as a volume in the soapboxd container to prevent having to run the docker daemon in the container
  6. Configured modd to prune unused containers when it rebuilds soapboxd to save space