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

Please update the guide in Docker section #198

Open
thiennq opened this issue Sep 18, 2023 · 3 comments
Open

Please update the guide in Docker section #198

thiennq opened this issue Sep 18, 2023 · 3 comments

Comments

@thiennq
Copy link

thiennq commented Sep 18, 2023

Hello,

When I tried using pgsync with docker

docker pull ankane/pgsync
alias pgsync="docker run -ti ankane/pgsync";
pgsync --init

No file was created.
So I think the guide in docker section should be change

From:

docker pull ankane/pgsync
alias pgsync="docker run -ti ankane/pgsync"

To:

docker pull ankane/pgsync
alias pgsync="docker run -ti -v $(pwd):/opt -w='/opt' ankane/pgsync"
@mneira10
Copy link

Just ran into this today, thanks for posting that!

@thiennq thiennq closed this as completed Oct 12, 2023
@thiennq thiennq reopened this Oct 12, 2023
@ghost
Copy link

ghost commented Oct 20, 2023

#202 -- PR here that updates the README with this info.

Thanks for the great tool.

@beasteers
Copy link

beasteers commented Jan 25, 2024

It seems like this is run on-demand. Would it possible to implement a watcher with this so that it can run and sync in the background? not sure how difficult that is with postgres.

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

No branches or pull requests

3 participants