{"id":19398412,"url":"https://github.com/quarkiverse/quarkus-embedded-postgresql","last_synced_at":"2025-10-27T07:14:33.895Z","repository":{"id":103103198,"uuid":"600037562","full_name":"quarkiverse/quarkus-embedded-postgresql","owner":"quarkiverse","description":"Allowing you to unit test with a PostgreSQL DB without requiring end users to install and set up a database cluster","archived":false,"fork":false,"pushed_at":"2025-03-25T14:06:16.000Z","size":228,"stargazers_count":10,"open_issues_count":3,"forks_count":14,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-04-03T00:25:21.943Z","etag":null,"topics":["embedded-database","embedded-db","embedded-postgresql","postgresql","quarkus-extension","zonkyo"],"latest_commit_sha":null,"homepage":"https://github.com/zonkyio/embedded-postgres","language":"Java","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/quarkiverse.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":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-02-10T12:51:39.000Z","updated_at":"2025-03-25T14:06:23.000Z","dependencies_parsed_at":null,"dependency_job_id":"f4144ecd-62bd-47fd-8c04-a6f6b0411194","html_url":"https://github.com/quarkiverse/quarkus-embedded-postgresql","commit_stats":null,"previous_names":[],"tags_count":18,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quarkiverse%2Fquarkus-embedded-postgresql","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quarkiverse%2Fquarkus-embedded-postgresql/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quarkiverse%2Fquarkus-embedded-postgresql/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quarkiverse%2Fquarkus-embedded-postgresql/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/quarkiverse","download_url":"https://codeload.github.com/quarkiverse/quarkus-embedded-postgresql/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250578082,"owners_count":21453237,"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":["embedded-database","embedded-db","embedded-postgresql","postgresql","quarkus-extension","zonkyo"],"created_at":"2024-11-10T11:06:00.166Z","updated_at":"2025-10-27T07:14:33.890Z","avatar_url":"https://github.com/quarkiverse.png","language":"Java","readme":"# Quarkus - Embedded PostgreSQL\n\n[![Version](https://img.shields.io/maven-central/v/io.quarkiverse.embedded.postgresql/quarkus-embedded-postgresql?logo=apache-maven\u0026style=flat-square)](https://search.maven.org/artifact/io.quarkiverse.embedded-postgresql/quarkus-embedded-postgresql)\n[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg?style=flat-square)](https://opensource.org/licenses/Apache-2.0)\n[![Build](https://github.com/quarkiverse/quarkus-embedded-postgresql/actions/workflows/build.yml/badge.svg)](https://github.com/quarkiverse/quarkus-embedded-postgresql/actions/workflows/build.yml)\n\n\nAn alternative to quarkus-jdbc-postgres that rather than instantiating a pgsql server, uses zonky embedded library, reducing memory footprint. \nIt is mainly oriented for single pod k8s deployments or integration testing. \n\n## Usage\n\nInclude this dependency in your pom \n\n```\n   \u003cdependency\u003e\n     \u003cgroupId\u003eio.quarkiverse.embedded.postgresql\u003c/groupId\u003e\n     \u003cartifactId\u003equarkus-embedded-postgresql\u003c/artifactId\u003e\n   \u003c/dependency\u003e\n```\n\nYou can now inject in your code a DataSource object (if you are JDBC friend) or a PgPool reference (if you prefer reactive) without adding any further property.\n\n### Configuration properties\n\n| property                               | description                                                                                                                                        |\n|----------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------|\n| `quarkus.embedded.postgresql.data.dir` | You can optionally persist information into file system by setting the desired path as value of property                                           |  \n| `quarkus.embedded.postgresql.port`     | You can optinally configure the postgresql server port by using this property. If no value is confirured a random available port will be selected. |\n| `quarkus.embedded.postgresql.listen-address`     | You can optionally configure the host(s) (listen_addresses) for the PostgreSQL server; if not set, localhost is used. Valid values include localhost, 0.0.0.0, ::, *, a specific hostname or IP (e.g. db.mycompany.local, 192.168.1.100), or multiple comma-separated addresses. |\n\n### Multiple Datasources\n\nThis extension supports the usage of multiple datasources when the application has more than datasource which are defined by a specific name for each one of them,\nsee the [datasources guide](https://quarkus.io/guides/datasource#multiple-datasources) for more details.\n\nThe extension uses the configuration of each named datasource matching the `db-kind` property to automatically create the databases on the embedded PostgreSQL for\neach defined datasource and inject the proper configuration intro the application, such as the URL for the datasource.\n\n\u003c!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section --\u003e\n[![All Contributors](https://img.shields.io/badge/all_contributors-2-orange.svg?style=flat-square)](#contributors-)\n\u003c!-- ALL-CONTRIBUTORS-BADGE:END --\u003e\n\n## Contributors ✨\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n\u003c!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section --\u003e\n\u003c!-- prettier-ignore-start --\u003e\n\u003c!-- markdownlint-disable --\u003e\n\u003ctable\u003e\n  \u003ctbody\u003e\n    \u003ctr\u003e\n      \u003ctd align=\"center\" valign=\"top\" width=\"14.28%\"\u003e\u003ca href=\"https://github.com/fjtirado\"\u003e\u003cimg src=\"https://avatars.githubusercontent.com/u/65240126?v=4?s=100\" width=\"100px;\" alt=\"Francisco Javier Tirado Sarti\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eFrancisco Javier Tirado Sarti\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"https://github.com/quarkiverse/quarkus-embedded-postgresql/commits?author=fjtirado\" title=\"Code\"\u003e💻\u003c/a\u003e \u003ca href=\"#maintenance-fjtirado\" title=\"Maintenance\"\u003e🚧\u003c/a\u003e\u003c/td\u003e\n      \u003ctd align=\"center\" valign=\"top\" width=\"14.28%\"\u003e\u003ca href=\"https://ricardozanini.medium.com/\"\u003e\u003cimg src=\"https://avatars.githubusercontent.com/u/1538000?v=4?s=100\" width=\"100px;\" alt=\"Ricardo Zanini\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eRicardo Zanini\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"https://github.com/quarkiverse/quarkus-embedded-postgresql/commits?author=ricardozanini\" title=\"Code\"\u003e💻\u003c/a\u003e \u003ca href=\"#maintenance-ricardozanini\" title=\"Maintenance\"\u003e🚧\u003c/a\u003e\u003c/td\u003e\n    \u003c/tr\u003e\n  \u003c/tbody\u003e\n\u003c/table\u003e\n\n\u003c!-- markdownlint-restore --\u003e\n\u003c!-- prettier-ignore-end --\u003e\n\n\u003c!-- ALL-CONTRIBUTORS-LIST:END --\u003e\n\nThis project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fquarkiverse%2Fquarkus-embedded-postgresql","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fquarkiverse%2Fquarkus-embedded-postgresql","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fquarkiverse%2Fquarkus-embedded-postgresql/lists"}