rubyforgood / coral

An upcoming project for Ruby for Good
MIT License
13 stars 10 forks source link

Compose #4

Closed cflipse closed 5 years ago

cflipse commented 5 years ago

Description

This is the baseline config of a docker-compose structure. A lot of this is preliminary, only roughly sketching that the parts of the network can talk to each other. The images build, and things talk to each other.

Parts of this are yoinked from Terrastories; other parts are pulled from the pragprog book Docker for Rails Developers

cflipse commented 5 years ago

IT, umm ... should be noted that this config requires a set of keys configured in nested .env files

It's late, I'll document what's needed in the morning.

cflipse commented 5 years ago

So, this compose requires three .env files. Tree looks something like:

.env
  development
    web
    database
    storage

and hold shared ENV secrets.