Uploaded image for project: 'CritiqueBrainz'
  1. CritiqueBrainz
  2. CB-370

in postgres docker container use volume for entrypoint instead of custom image

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Normal Normal
    • v-2020-10-09.0
    • None
    • None
    • None

      We build a custom postgres image in order to add a file to /docker-entrypoint-initdb.d/

      https://github.com/metabrainz/critiquebrainz/blob/master/docker/pg_custom/Dockerfile

      This can be streamlined by just mounting the sql file into the container using a volume definition in the docker-compose file. This will simplify the setup, and result in us not having to build extra images

            alastairp Alastair Porter
            alastairp Alastair Porter
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                Version Package
                v-2020-10-09.0