{"id":28816728,"url":"https://github.com/colibri-hq/postgres","last_synced_at":"2026-05-08T13:02:46.722Z","repository":{"id":298941886,"uuid":"1001625000","full_name":"colibri-hq/postgres","owner":"colibri-hq","description":"A PostgreSQL server Docker image for Colibri, a self-hosted, personal ebook management platform. This image augments the official PostgreSQL image with additional extensions and configuration.","archived":false,"fork":false,"pushed_at":"2025-12-19T10:35:44.000Z","size":27,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-12-22T02:39:58.131Z","etag":null,"topics":["colibri","docker","docker-image","ebook","postgres","postgresql"],"latest_commit_sha":null,"homepage":"https://github.com/colibri-hq/colibri","language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/colibri-hq.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-06-13T17:51:32.000Z","updated_at":"2025-12-19T10:35:49.000Z","dependencies_parsed_at":null,"dependency_job_id":"31a62e98-c234-4baf-a1a4-8f883b7ce925","html_url":"https://github.com/colibri-hq/postgres","commit_stats":null,"previous_names":["colibri-hq/postgres"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/colibri-hq/postgres","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/colibri-hq%2Fpostgres","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/colibri-hq%2Fpostgres/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/colibri-hq%2Fpostgres/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/colibri-hq%2Fpostgres/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/colibri-hq","download_url":"https://codeload.github.com/colibri-hq/postgres/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/colibri-hq%2Fpostgres/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32781561,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-08T08:22:46.396Z","status":"ssl_error","status_checked_at":"2026-05-08T08:22:45.650Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["colibri","docker","docker-image","ebook","postgres","postgresql"],"created_at":"2025-06-18T17:06:41.284Z","updated_at":"2026-05-08T13:02:46.709Z","avatar_url":"https://github.com/colibri-hq.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"Colibri PostgreSQL Server\n=========================\nA PostgreSQL server Docker image for [Colibri](https://github.com/colibri-hq/colibri), a self-hosted, personal ebook\nmanagement platform. This image augments the official PostgreSQL image with additional extensions and configuration.\n\nWhile it is primarily intended for use with Colibri, it can also be used as a general-purpose PostgreSQL server. The\nimage includes the following extensions:\n\n- **[`supabase_vault`](https://github.com/supabase/vault):** To manage secrets and sensitive data.\n- **[`pg_cron`](https://github.com/citusdata/pg_cron):** For scheduling periodic tasks within the database.\n- **[`pgvector`](https://github.com/pgvector/pgvector):** For vector similarity search.\n- **[`isn`](https://www.postgresql.org/docs/current/isn.html):** For International Standard Number (ISN) support.\n\nConfiguration\n-------------\nThe image allows setting the libsodium root encryption key via three different ways:\n\n1. **Docker Secret:** Mount a secret file containing the key at `/run/secrets/pgsodium_key`\n2. **Secret file environment variable:** Set the environment variable `PGSODIUM_KEY_FILE` to the path of the secret file\n3. **Environment variable:** Set the environment variable `PGSODIUM_KEY` to the key value directly\n\nThe key must be a 32-byte base64-encoded string. You can generate a key using the following command:\n\n```bash\nopenssl rand -base64 32\n```\n\n### Additional Configuration Files\n\nYou can also mount additional configuration files into the container by mounting them to the `/etc/postgresql/`\ndirectory, which is configured as an include directory in the main `postgresql.conf` file. This allows you to\nadd custom configurations or extensions without modifying the main configuration file.\n\n### Advanced Customization\n\nRefer to the [official PostgreSQL documentation](https://hub.docker.com/_/postgres) for the upstream image for more\nadvanced customization options.\n\nUsage\n-----\nTo use this image, you can run it with Docker Compose or directly with Docker:\n\n```\nghcr.io/colibri-hq/postgres:latest\n```\n\nBelow is an example of a Docker Compose file that sets up the PostgreSQL server with a custom configuration file and a\nDocker Secret for the libsodium key:\n\n```yaml\nservices:\n  postgres:\n    image: ghcr.io/colibri-hq/postgres:latest\n    environment:\n      POSTGRES_USER: colibri\n      POSTGRES_PASSWORD: colibri\n      PGSODIUM_KEY_FILE: /run/secrets/pgsodium_key\n    secrets:\n      - pgsodium_key\n    volumes:\n      - ./custom-config.conf:/etc/postgresql/\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcolibri-hq%2Fpostgres","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcolibri-hq%2Fpostgres","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcolibri-hq%2Fpostgres/lists"}