{"id":19302125,"url":"https://github.com/wodby/postgres","last_synced_at":"2025-04-22T10:33:29.916Z","repository":{"id":37663449,"uuid":"90970139","full_name":"wodby/postgres","owner":"wodby","description":"PostgreSQL docker container image","archived":false,"fork":false,"pushed_at":"2025-04-09T02:32:51.000Z","size":265,"stargazers_count":3,"open_issues_count":0,"forks_count":3,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-15T05:46:55.038Z","etag":null,"topics":["alpine","docker","postgres","postgresql"],"latest_commit_sha":null,"homepage":"https://wodby.com/stacks/postgres","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/wodby.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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":"2017-05-11T11:06:58.000Z","updated_at":"2025-04-09T02:32:55.000Z","dependencies_parsed_at":"2023-02-09T12:01:23.359Z","dependency_job_id":"3f701722-882b-44cc-b52b-460c7b919243","html_url":"https://github.com/wodby/postgres","commit_stats":null,"previous_names":[],"tags_count":113,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wodby%2Fpostgres","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wodby%2Fpostgres/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wodby%2Fpostgres/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wodby%2Fpostgres/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wodby","download_url":"https://codeload.github.com/wodby/postgres/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250221403,"owners_count":21394699,"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","docker","postgres","postgresql"],"created_at":"2024-11-09T23:20:00.385Z","updated_at":"2025-04-22T10:33:29.893Z","avatar_url":"https://github.com/wodby.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PostgreSQL Docker Container Image\n\n[![Build Status](https://github.com/wodby/postgres/workflows/Build%20docker%20image/badge.svg)](https://github.com/wodby/postgres/actions)\n[![Docker Pulls](https://img.shields.io/docker/pulls/wodby/postgres.svg)](https://hub.docker.com/r/wodby/postgres)\n[![Docker Stars](https://img.shields.io/docker/stars/wodby/postgres.svg)](https://hub.docker.com/r/wodby/postgres)\n\n## Docker Images\n\n❗For better reliability we release images with stability tags (`wodby/postgres:16-X.X.X`) which correspond to [git tags](https://github.com/wodby/postgres/releases). We strongly recommend using images only with stability tags. \n\nOverview:\n\n- All images based on Alpine Linux\n- Base image: [postgres](https://github.com/docker-library/postgres)\n- [GitHub actions builds](https://github.com/wodby/postgres/actions) \n- [Docker Hub](https://hub.docker.com/r/wodby/postgres)\n\n[_(Dockerfile)_]: https://github.com/wodby/postgres/tree/master/Dockerfile\n\nSupported tags and respective `Dockerfile` links:\n\n- `17`, `latest` [_(Dockerfile)_]\n- `16` [_(Dockerfile)_]\n- `15` [_(Dockerfile)_]\n- `14` [_(Dockerfile)_]\n- `13` [_(Dockerfile)_]\n\nAll images built for `linux/amd64` and `linux/arm64`\n\n## Environment Variables\n\n| Variable                                | Default Value        | Description        |\n|-----------------------------------------|----------------------|--------------------|\n| `POSTGRES_CHECKPOINT_COMPLETION_TARGET` | `0.7`                |                    |\n| `POSTGRES_CHECKPOINT_SEGMENTS`          | `32`                 | \u003c=9.4              |\n| `POSTGRES_DATESTYLE`                    | `iso, mdy`           |                    |\n| `POSTGRES_DB`                           | `postgres`           |                    |\n| `POSTGRES_DEFAULT_STATISTICS_TARGET`    | `100`                |                    |\n| `POSTGRES_DEFAULT_TEXT_SEARCH_CONFIG`   | `pg_catalog.english` |                    |\n| `POSTGRES_EFFECTIVE_CACHE_SIZE`         | `1GB`                |                    |\n| `POSTGRES_DB_EXTENSIONS`                |                      | Separated by comma |\n| `POSTGRES_LC_MESSAGES`                  | `en_US.utf8`         |                    |\n| `POSTGRES_LC_MONETARY`                  | `en_US.utf8`         |                    |\n| `POSTGRES_LC_NUMERIC`                   | `en_US.utf8`         |                    |\n| `POSTGRES_LC_TIME`                      | `en_US.utf8`         |                    |\n| `POSTGRES_LOG_TIMEZONE`                 | `UTC`                |                    |\n| `POSTGRES_MAINTENANCE_WORK_MEM`         | `128MB`              |                    |\n| `POSTGRES_MAX_CONNECTIONS`              | `100`                |                    |\n| `POSTGRES_MAX_WAL_SIZE`                 | `2GB`                | \u003e=9.5              |\n| `POSTGRES_MIN_WAL_SIZE`                 | `1GB`                | \u003e=9.5              |\n| `POSTGRES_SHARED_BUFFERS`               | `512MB`              |                    |\n| `POSTGRES_SHARED_MEMORY_TYPE`           | `posix`              | \u003e=9.4              |\n| `POSTGRES_TIMEZONE`                     | `UTC`                |                    |\n| `POSTGRES_PASSWORD`                     |                      | REQUIRED           |\n| `POSTGRES_USER`                         | `postgres`           |                    |\n| `POSTGRES_WAL_BUFFERS`                  | `16MB`               |                    |\n| `POSTGRES_WORK_MEM`                     | `5MB`                |                    |\n\n## Orchestration Actions\n\nUsage:\n```\nmake COMMAND [params ...]\n \ncommands:\n    import source=\u003c/path/to/dump.zip or http://example.com/url/to/dump.sql.gz\u003e [user password db host  binary] \n    backup filepath=\u003c/path/to/backup.sql.gz\u003e [user password host db ignore=\u003c\"table1;table2\"\u003e nice ionice] \n    query query=\u003cSELECT 1\u003e [user password db host] \n    query-silent query=\u003cSELECT 1\u003e [user password db host]\n    check-ready [user password db host max_try wait_seconds delay_seconds]  \n    \ndefault params values:\n    user $POSTGRES_USER\n    password $POSTGRES_PASSWORD\n    db $POSTGRES_DB\n    host localhost\n    max_try 1\n    wait_seconds 1\n    delay_seconds 0\n    ignore \"\"\n    binary 0\n    nice 10\n    ionice 7    \n```\n\n## Deployment\n\nDeploy PostgreSQL to your server via [![Wodby](https://www.google.com/s2/favicons?domain=wodby.com) Wodby](https://wodby.com/stacks/postgres).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwodby%2Fpostgres","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwodby%2Fpostgres","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwodby%2Fpostgres/lists"}