{"id":23458280,"url":"https://github.com/bwibo/wait-for-psql-docker","last_synced_at":"2026-04-17T00:33:57.573Z","repository":{"id":92308723,"uuid":"488991628","full_name":"BWibo/wait-for-psql-docker","owner":"BWibo","description":"Docker image to wait for PostgreSQL to become available","archived":false,"fork":false,"pushed_at":"2022-08-22T11:06:00.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-15T23:25:39.773Z","etag":null,"topics":["availability","check","database","docker","postgres","postgresql","wait-for-it"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/BWibo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-05-05T13:51:04.000Z","updated_at":"2022-08-22T10:20:35.000Z","dependencies_parsed_at":"2023-05-16T20:00:18.490Z","dependency_job_id":null,"html_url":"https://github.com/BWibo/wait-for-psql-docker","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BWibo%2Fwait-for-psql-docker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BWibo%2Fwait-for-psql-docker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BWibo%2Fwait-for-psql-docker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BWibo%2Fwait-for-psql-docker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BWibo","download_url":"https://codeload.github.com/BWibo/wait-for-psql-docker/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248412155,"owners_count":21099063,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["availability","check","database","docker","postgres","postgresql","wait-for-it"],"created_at":"2024-12-24T05:19:26.115Z","updated_at":"2026-04-17T00:33:52.543Z","avatar_url":"https://github.com/BWibo.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Wait for `psql`\n\n`wait-for-psql` is a simple script packed in a `Dockerfile` to wait for a\npostgres database to become available. For instance, this is handy when\nautomatically testing a database schema, that takes some time to setup.\n\nThe Docker image is available at `bwibo/wait-for-psql` from\n[DockerHub](https://hub.docker.com/repository/docker/bwibo/wait-for-psql/tags).\n\n```text\nUsage:\n    docker run --rm -t bwibo/wait-for-psql \\\n      TIMEOUT HOST PORT DBNAME USERNAME PASSWORD [COMMAND] [ARGUMENTS...]\n\n    TIMEOUT         Timeout in seconds\n    HOST            Host or IP of the postgres server\n    PORT            Postgres server port\n    DBNAME          Postgres database name\n    USERNAME        Postgres db user\n    PASSWORD        Postgres db password\n    COMMAND ARGS    Execute command with args after the test finishes\n\nExit codes: 0 = Postgres available, 1 = timeout.\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbwibo%2Fwait-for-psql-docker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbwibo%2Fwait-for-psql-docker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbwibo%2Fwait-for-psql-docker/lists"}