{"id":20283287,"url":"https://github.com/diego-paris/postgres-docker","last_synced_at":"2026-05-01T16:33:53.125Z","repository":{"id":191527367,"uuid":"684794580","full_name":"Diego-Paris/Postgres-Docker","owner":"Diego-Paris","description":"Quickly spin up a Postgres database using Docker Compose","archived":false,"fork":false,"pushed_at":"2023-08-30T01:43:42.000Z","size":2,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-04T12:43:12.057Z","etag":null,"topics":["docker","docker-compose","postgresql"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Diego-Paris.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-08-29T21:46:20.000Z","updated_at":"2023-08-30T00:59:13.000Z","dependencies_parsed_at":"2023-08-30T09:45:47.608Z","dependency_job_id":"94a6ffed-da7a-4254-b21e-06987292105a","html_url":"https://github.com/Diego-Paris/Postgres-Docker","commit_stats":null,"previous_names":["diego-paris/postgres-docker"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Diego-Paris/Postgres-Docker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Diego-Paris%2FPostgres-Docker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Diego-Paris%2FPostgres-Docker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Diego-Paris%2FPostgres-Docker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Diego-Paris%2FPostgres-Docker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Diego-Paris","download_url":"https://codeload.github.com/Diego-Paris/Postgres-Docker/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Diego-Paris%2FPostgres-Docker/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32505106,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-30T13:12:12.517Z","status":"online","status_checked_at":"2026-05-01T02:00:05.856Z","response_time":64,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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","postgresql"],"created_at":"2024-11-14T14:14:03.903Z","updated_at":"2026-05-01T16:33:53.103Z","avatar_url":"https://github.com/Diego-Paris.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# PostgreSQL using Docker Compose\n\nThis project let's you quickly spin up a PostgreSQL Docker container using Docker Compose from the terminal for local development and learning purposes.\n\n\n## Prerequisites \nYou need to have Docker Engine and Docker Compose on your machine.\n\nYou can install [Docker Desktop](https://docs.docker.com/desktop/) which includes both Docker Engine and Docker Compose\n\n## How to run\n```bash\n# Make sure Docker Desktop is running\n\n# Run docker compose\n$ docker-compose up -d\n# or\n$ docker compose up -d\n```\n\n## How to check database\n```bash\n# Check running containers\n$ docker ps\n```\n\n## How to turn off database\n```bash\n# Turn off database, data will be saved\n$ docker-compose down\n# or\n$ docker compose down\n```\n\n## How to connect\nYou can connect to your new database using your favorite database tool. Two great options are [pgAdmin 4](https://www.pgadmin.org/) and [DataGrip](https://www.jetbrains.com/datagrip/). You can also connect from the command line using [psql](https://www.timescale.com/blog/how-to-install-psql-on-mac-ubuntu-debian-windows/).\n\n```yaml\n# Information needed to connect to your database\n# All of this can be changed inside of docker-compose.yml\nHostname/Address: localhost\nPort: 5555\nUsername: postgres\nPassword: password\n```\n\n### Notes\nThis project is for learning and local development purposes only. This is not intended for a production environment.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdiego-paris%2Fpostgres-docker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdiego-paris%2Fpostgres-docker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdiego-paris%2Fpostgres-docker/lists"}