thegraphnetwork / EpiGraphHub

Software platform to Gather, transmform, harmonize and store epidemiological data for analytical purposes.
https://epigraphhub.org
GNU General Public License v3.0
8 stars 10 forks source link

Move host postgresql server to docker container #105

Open xmnlab opened 2 years ago

xmnlab commented 2 years ago

Move host postgresql server to docker container.

this issue aims to record some discussions and best practice about how to proper move from a postgresql server on host to container.

common approaches:

  1. create a named volume for the postgresql docker container and restore a dump from pg host to the pg container.
  2. mount the postgresql data folder from host to the container data folder
xmnlab commented 2 years ago

refs:

eduardocorrearaujo commented 2 years ago

is it solved?