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

Adding pgAgent #478

Open
ploef opened this issue Jul 12, 2024 · 2 comments
Open

Adding pgAgent #478

ploef opened this issue Jul 12, 2024 · 2 comments

Comments

@ploef
Copy link

ploef commented Jul 12, 2024

Hi,

What would be the best way to add pgAgent to this image?

Kind regards,
Peter

@graveland
Copy link
Collaborator

For just the SQL extension: create a PR that adds the pgagent debian package. It's already packaged and should just work. It's small enough and doesn't include many dependencies that I'd have zero problem approving that.

For the daemon: It's included in the pgagent package, but as it is a stand-alone daemon that just connects to the database, and would be more suited for a separate deployment rather than running another daemon inside a -ha container. Containers are generally supposed to have only a single thing running in them.

Since that binary would be available in -ha after adding the debian package though, you could run this image and replace the docker entrypoint/cmd with running the pgagent daemon with the appropriate arguments, but this is a huge image to run something so small :)

@ploef
Copy link
Author

ploef commented Jul 12, 2024

Thanks for the detailed answer. It certainly helped to choose the right direction. The PR has been created 😄 .

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

2 participants