postgresql-action
postgresql-action copied to clipboard
GitHub Action to setup a PostgreSQL database
When using this with https://github.com/nektos/act , the port conflicts with my local instance of pg.
This could entirely be user-error, but I'm not sure where I'm going wrong. The error: ```none Run Harmon758/[email protected] /usr/bin/docker run --name e87b52c65b2929f5644ec097339a1066ddedd0_d18a2d --label e87b52 --workdir /github/workspace --rm -e MOCK_TRIAL_SECRET -e...
I've added the possibility to configure the port directly when calling the action. This allow also multiple runs of its actions to create and setup multiple databases.
I had some trouble connecting to the database immediately after this action. This resulted in a "connection reset by peer" error. Adding a sleep action between the actions solved it....
Support for PostGIS would be awesome! Ideally, one could just run something like "CREATE EXTENSION postgis;" on the db. https://postgis.net/
Hi, I was just wondering what hostname should I use to connect postgresql db in github envirnoment?
The PostgreSQL docker image allows mounting a volume containing SQL scripts that are executed when the docker image is started. This PR exposes this functionality in the Github Action.