{"id":21585202,"url":"https://github.com/patricktrainer/postgres-docker-compose","last_synced_at":"2026-02-20T19:04:23.203Z","repository":{"id":109985652,"uuid":"497743496","full_name":"patricktrainer/postgres-docker-compose","owner":"patricktrainer","description":"A local postgres enviornment.","archived":false,"fork":false,"pushed_at":"2022-11-19T20:03:02.000Z","size":17,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-23T02:58:33.622Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/patricktrainer.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-30T00:43:23.000Z","updated_at":"2022-05-30T00:43:23.000Z","dependencies_parsed_at":"2023-03-11T02:15:18.623Z","dependency_job_id":null,"html_url":"https://github.com/patricktrainer/postgres-docker-compose","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/patricktrainer/postgres-docker-compose","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/patricktrainer%2Fpostgres-docker-compose","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/patricktrainer%2Fpostgres-docker-compose/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/patricktrainer%2Fpostgres-docker-compose/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/patricktrainer%2Fpostgres-docker-compose/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/patricktrainer","download_url":"https://codeload.github.com/patricktrainer/postgres-docker-compose/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/patricktrainer%2Fpostgres-docker-compose/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29661585,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-20T16:33:43.953Z","status":"ssl_error","status_checked_at":"2026-02-20T16:33:43.598Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":[],"created_at":"2024-11-24T15:09:29.589Z","updated_at":"2026-02-20T19:04:23.176Z","avatar_url":"https://github.com/patricktrainer.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Postgres Docker Compose\nRun postgres locally with docker-compose.\n\n## Quick start\nChange to the directory.\n```bash\ncd /path/to/postgres-docker-compose\n```\n\nStart the containers.\n```bash\ndocker-compose up\n```\n\n_or_ \n\nStart the containers in \"detached\" mode.\n```bash\ndocker-compose up -d\n```\n\nStop the containers.\n```bash\ndocker-compose down\n```\n\n## Services\n🚧 Beware hardcoded credentials in `docker-compose.yml`.\n\nThe `docker-compose.yml` file consists of two services:\n1. `postgres` - runs the postgres server\n2. `pgadmin` - runs the pgadmin server\n\n\n### Access postgres\nThe `postgres` service runs a postgres server. It is configured to auto-restart the container if it crashes.\n\n- url: `http://localhost:5432`\n- username: `postgres`\n- password: `changeme`\n\n### Access PgAdmin\nThe `pgadmin` service runs PgAdmin4. It is configured to auto-restart the container if it crashes.\n\n- url: `http://localhost:5050`\n- username: `pgadmin4@pgadmin.org`\n- password: `admin`\n\n### Add a new server in PgAdmin\n- host name/address: `postgres`\n- port: `5432`\n- username: `postgres`\n- password: `changeme`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpatricktrainer%2Fpostgres-docker-compose","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpatricktrainer%2Fpostgres-docker-compose","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpatricktrainer%2Fpostgres-docker-compose/lists"}