{"id":39207054,"url":"https://github.com/shamimgeek/docker-compose-postgres","last_synced_at":"2026-01-17T23:00:50.631Z","repository":{"id":63943433,"uuid":"288026382","full_name":"shamimgeek/docker-compose-postgres","owner":"shamimgeek","description":"Postgresql with pgadmin4 and docker-compose and practice sql","archived":false,"fork":false,"pushed_at":"2020-08-25T19:55:53.000Z","size":781,"stargazers_count":2,"open_issues_count":1,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2023-02-28T22:32:18.091Z","etag":null,"topics":["docker","docker-compose","pgadmin-docker","pgadmin4","postgresql","sql"],"latest_commit_sha":null,"homepage":"","language":"TSQL","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/shamimgeek.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}},"created_at":"2020-08-16T21:22:36.000Z","updated_at":"2021-06-01T17:44:44.000Z","dependencies_parsed_at":"2022-11-29T11:00:15.645Z","dependency_job_id":null,"html_url":"https://github.com/shamimgeek/docker-compose-postgres","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"purl":"pkg:github/shamimgeek/docker-compose-postgres","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shamimgeek%2Fdocker-compose-postgres","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shamimgeek%2Fdocker-compose-postgres/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shamimgeek%2Fdocker-compose-postgres/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shamimgeek%2Fdocker-compose-postgres/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shamimgeek","download_url":"https://codeload.github.com/shamimgeek/docker-compose-postgres/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shamimgeek%2Fdocker-compose-postgres/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28521296,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-17T22:11:28.393Z","status":"ssl_error","status_checked_at":"2026-01-17T22:11:27.841Z","response_time":85,"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":["docker","docker-compose","pgadmin-docker","pgadmin4","postgresql","sql"],"created_at":"2026-01-17T23:00:29.232Z","updated_at":"2026-01-17T23:00:50.566Z","avatar_url":"https://github.com/shamimgeek.png","language":"TSQL","readme":"# docker-compose-postgres-pgadmin4\n\n## Requirements:\n- docker\n- docker-compose\n\n## Quick Start\n- Clone this repository\n- Go to directory,  `cd docker-compose-postgres`\n- Run this command `docker-compose -f docker-compose-postgres-pgadmin4.yml up -d`\n\n\n## Environment Variables\n\n- `POSTGRES_USER` the default value is **postgres**\n- `POSTGRES_PASSWORD` the default value is **passw0rd**\n- `PGADMIN_PORT` the default value is **8080**\n- `PGADMIN_DEFAULT_EMAIL` the default value is **shamim.rhce@gmail.com**\n- `PGADMIN_DEFAULT_PASSWORD` the default value is **passw0rd**\n\n## Access to postgres: \n- `localhost:5432`\n- **Username:** postgres (as a default)\n- **Password:** passw0rd (as a default)\n\n## Access to postgres using terminal:\n```\ndocker exec -it postgres psql -U postgres\n```\nfor more postgresql commands check [here](./postgresql-commands.md)\n\n## Access to PgAdmin: \n- **URL:** `http://localhost:8080`\n- **Username:** shamim.rhce@gmail.com (as a default)\n- **Password:** passw0rd (as a default)\n![pgadmin_login_page](./images/pgadmin_login_page.png)\n\n## Add a new server in PgAdmin:\n- **Host name/address** `postgres`\n- **Port** `5432`\n- **Username** as `POSTGRES_USER`, by default: `postgres`\n- **Password** as `POSTGRES_PASSWORD`, by default `passw0rd`\n![add_server_to_pgadmin1](./images/add_server_to_pgadmin-1.png)\n![add_server_to_pgadmin2](./images/add_server_to_pgadmin.png)\n![add_server_to_pgadmin3](./images/add_server_to_pgadmin-3.png)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshamimgeek%2Fdocker-compose-postgres","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshamimgeek%2Fdocker-compose-postgres","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshamimgeek%2Fdocker-compose-postgres/lists"}