{"id":20045925,"url":"https://github.com/seralaci/postgres-docker-compose","last_synced_at":"2025-08-19T21:05:19.403Z","repository":{"id":176263737,"uuid":"655234579","full_name":"seralaci/postgres-docker-compose","owner":"seralaci","description":"PostgreSQL and pgAdmin by Docker Compose","archived":false,"fork":false,"pushed_at":"2023-06-18T10:14:11.000Z","size":100,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-12T20:11:23.359Z","etag":null,"topics":["docker","docker-compose","pgadmin","pgadmin-docker","pgadmin4","postgres","postgresql"],"latest_commit_sha":null,"homepage":"","language":null,"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/seralaci.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":"2023-06-18T09:51:16.000Z","updated_at":"2023-06-18T09:52:31.000Z","dependencies_parsed_at":null,"dependency_job_id":"f8f3fe50-2f06-4262-ba66-90e3eef0446f","html_url":"https://github.com/seralaci/postgres-docker-compose","commit_stats":null,"previous_names":["seralaci/postgres-docker-compose"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seralaci%2Fpostgres-docker-compose","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seralaci%2Fpostgres-docker-compose/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seralaci%2Fpostgres-docker-compose/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seralaci%2Fpostgres-docker-compose/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/seralaci","download_url":"https://codeload.github.com/seralaci/postgres-docker-compose/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241476437,"owners_count":19968916,"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":["docker","docker-compose","pgadmin","pgadmin-docker","pgadmin4","postgres","postgresql"],"created_at":"2024-11-13T11:19:47.259Z","updated_at":"2025-03-02T07:46:42.726Z","avatar_url":"https://github.com/seralaci.png","language":null,"readme":"# PostgreSQL and pgAdmin 4 by Docker Compose\n\n## Requirements:\n* docker \u003e= 17.12.0+\n* docker-compose\n\n## Quick Start\n* Clone or download this repository\n* Go inside of directory,  `cd postgres-docker-compose`\n* Run this command `docker-compose up -d`\n\n\n## Environments\nThis Compose file contains the following environment variables:\n\n* `POSTGRES_USER` the default value is **postgres**\n* `POSTGRES_PASSWORD` the default value is **setyourpassword**\n* `PGADMIN_PORT` the default value is **5050**\n* `PGADMIN_DEFAULT_EMAIL` the default value is **pgadmin4@pgadmin.org**\n* `PGADMIN_DEFAULT_PASSWORD` the default value is **admin**\n\n## Access to postgres: \n* `localhost:5432`\n* **Username:** postgres \n* **Password:** setyourpassword \n\n## Access to PgAdmin: \n* **URL:** [http://localhost:5050](http://localhost:5050)\n* **Username:** pgadmin@pgadmin.org \n* **Password:** admin \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 `setyourpassword`\n\n![Alt text](register_server.png)\n\n## Logging\n\nThere are no easy way to configure pgadmin log verbosity and it can be overwhelming at times. It is possible to disable pgadmin logging on the container level.\n\nAdd the following to `pgadmin` service in the `docker-compose.yml`:\n\n```\nlogging:\n  driver: \"none\"\n```\n\n## Are you new to PostgreSQL?\n\n[Learn PostgreSQL Tutorial - Full Course for Beginners](https://www.youtube.com/watch?v=qw--VYLpxG4)","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fseralaci%2Fpostgres-docker-compose","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fseralaci%2Fpostgres-docker-compose","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fseralaci%2Fpostgres-docker-compose/lists"}