{"id":19195315,"url":"https://github.com/fixate/docker-postgres","last_synced_at":"2025-07-20T06:33:15.850Z","repository":{"id":13508282,"uuid":"16199194","full_name":"fixate/docker-postgres","owner":"fixate","description":"Postgres docker image","archived":false,"fork":false,"pushed_at":"2015-09-18T11:14:54.000Z","size":252,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-23T04:39:13.439Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","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/fixate.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}},"created_at":"2014-01-24T08:36:57.000Z","updated_at":"2014-09-25T08:43:10.000Z","dependencies_parsed_at":"2022-09-04T05:22:19.376Z","dependency_job_id":null,"html_url":"https://github.com/fixate/docker-postgres","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/fixate/docker-postgres","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fixate%2Fdocker-postgres","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fixate%2Fdocker-postgres/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fixate%2Fdocker-postgres/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fixate%2Fdocker-postgres/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fixate","download_url":"https://codeload.github.com/fixate/docker-postgres/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fixate%2Fdocker-postgres/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266076350,"owners_count":23872741,"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":[],"created_at":"2024-11-09T12:09:35.843Z","updated_at":"2025-07-20T06:33:15.825Z","avatar_url":"https://github.com/fixate.png","language":"Shell","readme":"# Dockerfile for Postgres 9.3 on Ubuntu 14.04 (TAGS: 9.3)\n\n[Docker index](https://index.docker.io/u/fixate/postgres/)\n\n**Notes:**\n\n - Creates a superuser called `docker` with password 'password'.\n - Postgres data is decoupled from the image in a `/data` volume.\n\n### Next steps\n\nTo run from docker index:\n\n```shell\nFirst run:\n$ CONTAINER=$(docker run -d \\\n             --name postgres \\\n             -p 5432 \\\n             -v=\"/var/postgresql/data:/var/postgresql/data:rw\" \\\n             -v=\"/var/postgresql/logs:/var/postgresql/logs:rw\" \\\n             -e PGDATA=/var/postgresql/data -d \"fixate/postgresql:9.3-1\")\nStart up:\n$ CONTAINER=$(docker start postgres)\nGet the IP:\n$ IP=$(docker inspect -format='{{ .NetworkSettings.IPAddress }}' $CONTAINER )\n```\n\nAccess the database in a container:\n\n```shell\n# Check if running and get the port\ndocker ps \n# Connect using IP\n$ psql -U docker -h $IP -p [your port] template1\n(password: password)\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffixate%2Fdocker-postgres","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffixate%2Fdocker-postgres","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffixate%2Fdocker-postgres/lists"}