{"id":17999100,"url":"https://github.com/wkrzywiec/docker-postgres","last_synced_at":"2025-06-21T00:08:50.438Z","repository":{"id":111645496,"uuid":"193634995","full_name":"wkrzywiec/docker-postgres","owner":"wkrzywiec","description":"Postgres Dockerfile with simple SQL script","archived":false,"fork":false,"pushed_at":"2019-07-06T10:14:26.000Z","size":1,"stargazers_count":8,"open_issues_count":0,"forks_count":6,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-21T00:06:59.020Z","etag":null,"topics":["docker","dockerfile","postgres","postgresql"],"latest_commit_sha":null,"homepage":null,"language":"Dockerfile","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/wkrzywiec.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-06-25T04:33:33.000Z","updated_at":"2022-09-15T20:54:29.000Z","dependencies_parsed_at":"2023-03-13T06:00:39.749Z","dependency_job_id":null,"html_url":"https://github.com/wkrzywiec/docker-postgres","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/wkrzywiec/docker-postgres","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wkrzywiec%2Fdocker-postgres","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wkrzywiec%2Fdocker-postgres/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wkrzywiec%2Fdocker-postgres/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wkrzywiec%2Fdocker-postgres/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wkrzywiec","download_url":"https://codeload.github.com/wkrzywiec/docker-postgres/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wkrzywiec%2Fdocker-postgres/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261039108,"owners_count":23100975,"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","dockerfile","postgres","postgresql"],"created_at":"2024-10-29T22:10:01.245Z","updated_at":"2025-06-21T00:08:45.423Z","avatar_url":"https://github.com/wkrzywiec.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Docker-Postgres\n\nSimple Docker project that runs Postgres database.\n\n\n### How to run it?\n\nFirst get this project on your local machine:\n\n```\n$ git clone https://github.com/wkrzywiec/docker-postgres.git\n```\n\nNext, in destination folder type following commands:\n\n```\n$ docker build -t test-postgres .\n```\n\nand then to run the container:\n\n```\n$ docker run -p 5432:5432 test-postgres\n```\n\nYou should be able to connect to the database with following connectors:\n\n- Host:       **localhost**\n- Port:       **5432**\n- Database:   **testdb**\n- User:       **postgres**\n- Password:   **postgres**\n\n\n### More info\n\nThis tiny project is part of the an article: [Database in a Docker container — how to start and what’s it about](https://medium.com/@wkrzywiec/database-in-a-docker-container-how-to-start-and-whats-it-about-5e3ceea77e50)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwkrzywiec%2Fdocker-postgres","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwkrzywiec%2Fdocker-postgres","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwkrzywiec%2Fdocker-postgres/lists"}