I wanted to dive into the world of postgresql so I installed both postgresql and pgadmin using docker (with the portainer web ui) and I found out that for automatic jobs you gotta install pgagent too but I haven't been able to find any information on running it with docker.
I found this image https://hub.docker.com/r/chiavegatto/postgres-pgagent but portainer throws a 400 error code when trying to deploy the container which I haven't been able to figure out and I'm not quite sure of how this setup would work either.
I saw it executes the following command pgagent -f hostaddr=postgres dbname=test user=postgres port=5432
at the entrypoint but what if I want to schedule jobs on multiple databases?
- Has anyone been able to run pgagent with docker?
- Is there any image of postgresql that comes with the agent preinstalled?