{"id":13937821,"url":"https://github.com/Nebo15/alpine-postgre","last_synced_at":"2025-07-20T00:31:11.217Z","repository":{"id":146567905,"uuid":"67865523","full_name":"Nebo15/alpine-postgre","owner":"Nebo15","description":"PostgreSQL Docker Images based on Alpine Linux and with the same API as official repo has.","archived":false,"fork":false,"pushed_at":"2017-07-23T19:18:18.000Z","size":390,"stargazers_count":2,"open_issues_count":0,"forks_count":2,"subscribers_count":13,"default_branch":"master","last_synced_at":"2025-05-14T11:36:45.721Z","etag":null,"topics":["alpine","container","docker","postgre","postgresql"],"latest_commit_sha":null,"homepage":null,"language":"Shell","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/Nebo15.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":"2016-09-10T10:42:06.000Z","updated_at":"2018-02-10T06:50:57.000Z","dependencies_parsed_at":"2023-04-16T09:17:07.092Z","dependency_job_id":null,"html_url":"https://github.com/Nebo15/alpine-postgre","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/Nebo15/alpine-postgre","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nebo15%2Falpine-postgre","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nebo15%2Falpine-postgre/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nebo15%2Falpine-postgre/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nebo15%2Falpine-postgre/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Nebo15","download_url":"https://codeload.github.com/Nebo15/alpine-postgre/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nebo15%2Falpine-postgre/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266048494,"owners_count":23868738,"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":["alpine","container","docker","postgre","postgresql"],"created_at":"2024-08-07T23:03:56.321Z","updated_at":"2025-07-20T00:31:10.912Z","avatar_url":"https://github.com/Nebo15.png","language":"Shell","readme":"# alpine-postgre\n\nPostgreSQL Docker container based on Alpine Linux and with the same API as [official container has](https://hub.docker.com/_/postgres/).\n\nWhats different?\n\n  1. Added `POSTGRES_LOG_STATEMENTS` environment variable that helps with settings custom verbosity for statements log.\n  2. Added `REPLICATOR_USER` (default: `phhoard`) and `REPLICATOR_PASSWORD` environment variables that will allow replication connections to a running container. (By default PostgreSQL `all` statement does not include `replication` in `pg_hba.conf`.)\n  3. Improved entrypoint script to support backups from restored PostgeSQL data directory.\n\n## How to restore from backup?\n\nPlace your restored `PGDATA` to `${PGDATA}/../restored_data` (by default: `var/lib/postgresql/restored_data`) and restart the container. During restart it will:\n\n  1. Move current PGDATA to `${PGDATA}/../corrupted_data`. (You will need to remove it manually later.)\n  2. Move files from `restored_data` to `$PGDATA`.\n  3. Remove `restored_data` directory.\n","funding_links":[],"categories":["Shell"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FNebo15%2Falpine-postgre","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FNebo15%2Falpine-postgre","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FNebo15%2Falpine-postgre/lists"}