Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace Local Docker Install with Community Docker-Compose #9289

Merged

Commits on Feb 22, 2021

  1. Consolidate the Local Docker installer and the dev env

      - removes local_docker installer and points community users to our development environment (make docker-compose)
      - provides a migration path from Local Docker Compose installations --> the dev environment
      - the dev env can now be configured to use an external database
      - consolidated the Local Docker and dev env docker-compose.yml files into one template file, used by the dockerfile role
      - added a 'sources' role to template out config files
      - the postgres data dir is no longer a bind-mount, it is a docker volume
      - the redis socket is not longer a bind-mount, it is a docker volume
      - the local_settings.py.docker-compose file no longer needs to be copied over in the dev env
      - Create tmp rsyslog.conf in rsyslog volume to avoid cross-linking. Previously, the tmp code-generated rsyslog.conf was being written to /tmp (by default).  As a result, we were attempting to shutil.move() across volumes.
      - move k8s image build and push roles under tools/ansible
      - See tools/docker-compose/README.md for usage of these changes
    rooftopcellist committed Feb 22, 2021
    Configuration menu
    Copy the full SHA
    9672e72 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8f97588 View commit details
    Browse the repository at this point in the history
  3. Fix docker-compose-clean

    shanemcd authored and rooftopcellist committed Feb 22, 2021
    Configuration menu
    Copy the full SHA
    e935b06 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    70325fd View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    af6af05 View commit details
    Browse the repository at this point in the history
  6. Pass docker project_name whenever docker-compose is used

     - Also, do no explicitly name containers
    rooftopcellist committed Feb 22, 2021
    Configuration menu
    Copy the full SHA
    b583aeb View commit details
    Browse the repository at this point in the history