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

Move host postgresql server to docker container #105

Open
xmnlab opened this issue May 25, 2022 · 2 comments · May be fixed by #108
Open

Move host postgresql server to docker container #105

xmnlab opened this issue May 25, 2022 · 2 comments · May be fixed by #108
Labels

Comments

@xmnlab
Copy link
Member

xmnlab commented May 25, 2022

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 xmnlab added the devops label May 25, 2022
@xmnlab xmnlab linked a pull request May 25, 2022 that will close this issue
@eduardocorrearaujo
Copy link
Contributor

is it solved?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants