Add ActiveMQ and ElasticSearch to docker-compose in order to test integration between components in the architecture. (HT: @jermnelson.)
Add ResourceTemplate indexer that can loop over resource templates and index them in ElasticSearch. (HT: @jermnelson.)
Use dockerize in CI to wait on the Trellis service. Ideally, CircleCI could use a service's healthcheck section in the docker-compose configuration to handle this automatically, but that is not yet available. Per Circle's recommendation, use dockerize for this instead of a homegrown solution.
Related to the above:
Remove custom Trellis wait script.
Remove unused healthcheck section from Trellis docker-compose configuration.
Remove container_name directives from the docker-compose configuration, as we no longer need to care about deterministic container names. As a bonus, removing the container_name directive allows for spinning up multiple containers for any of the services specified in the docker-compose config. (Or, put otherwise, if a service contains the container_name directive, we can only spin up one container per service.)
connects to #46 connects to #47
This PR includes the following work:
docker-compose
in order to test integration between components in the architecture. (HT: @jermnelson.)dockerize
in CI to wait on the Trellis service. Ideally, CircleCI could use a service'shealthcheck
section in thedocker-compose
configuration to handle this automatically, but that is not yet available. Per Circle's recommendation, usedockerize
for this instead of a homegrown solution.healthcheck
section from Trellisdocker-compose
configuration.container_name
directives from thedocker-compose
configuration, as we no longer need to care about deterministic container names. As a bonus, removing thecontainer_name
directive allows for spinning up multiple containers for any of the services specified in thedocker-compose
config. (Or, put otherwise, if a service contains thecontainer_name
directive, we can only spin up one container per service.)