TACC/Core-CMS-Custom

Remove Excess Docker-Compose Configuration

Opened this issue · 1 comments

Overview

We should be able to remove postgres and elasticsearch from Docker Compose configuration.

To Do

  1. Review #184 (comment), #184 (comment), #184 (comment), and #184 (comment).
  2. Determine which changes are safe and how to do them.
  3. Do it, and test each project.

Is this how I do that?

  1. Sync container docker-compose.dev.yml (from Core-CMS) to local files as docker-compose.core-cms.yml:

    docker-compose.dev.yml

        volumes:
          - ./docker-compose.core-cms.yml:/code/docker-compose.dev.yml
    
  2. Make postgres and elasticsearch services extend docker-compose.core-cms.yml:

    docker-compose.dev.yml

      postgres:
        extends:
          file: ../docker-compose.core-cms.yml
          service: postgres
    
      elasticsearch:
        extends:
          file: ../docker-compose.core-cms.yml
          service: elasticsearch