{"id":15576224,"url":"https://github.com/ct83/raspberry-pi-postgres-docker-compose","last_synced_at":"2026-03-18T20:10:23.992Z","repository":{"id":107564866,"uuid":"188230819","full_name":"CT83/Raspberry-Pi-PostGres-Docker-Compose","owner":"CT83","description":"A simple way to run a PostGres database on the Raspberry Pi using Docker and Docker Compose.","archived":false,"fork":false,"pushed_at":"2019-10-19T01:41:48.000Z","size":1229,"stargazers_count":1,"open_issues_count":1,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-23T19:58:27.940Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Dockerfile","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/CT83.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":"2019-05-23T12:34:47.000Z","updated_at":"2022-05-11T07:34:31.000Z","dependencies_parsed_at":null,"dependency_job_id":"48e2715e-05ee-4dfe-8fe0-fc1b3c31193f","html_url":"https://github.com/CT83/Raspberry-Pi-PostGres-Docker-Compose","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/CT83/Raspberry-Pi-PostGres-Docker-Compose","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CT83%2FRaspberry-Pi-PostGres-Docker-Compose","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CT83%2FRaspberry-Pi-PostGres-Docker-Compose/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CT83%2FRaspberry-Pi-PostGres-Docker-Compose/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CT83%2FRaspberry-Pi-PostGres-Docker-Compose/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CT83","download_url":"https://codeload.github.com/CT83/Raspberry-Pi-PostGres-Docker-Compose/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CT83%2FRaspberry-Pi-PostGres-Docker-Compose/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29338376,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-11T16:14:43.024Z","status":"ssl_error","status_checked_at":"2026-02-11T16:14:15.258Z","response_time":97,"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":[],"created_at":"2024-10-02T18:43:57.219Z","updated_at":"2026-02-11T16:34:03.276Z","avatar_url":"https://github.com/CT83.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Spin up a PostGres Docker Container on the RPi in 2 minutes! \n## Raspberry-Pi-PostGres-Docker-Compose\n\nInstalling things is difficult! But, it does not need to be. \n[Tobias](https://tobias.hargesheimer.ws/) and me (mostly just Tobias) have already made this easy for you. \n\nThis is a Docker Starter Pack thingy to help you _up_ a PostGreSQL Database on your Raspberry Pi within seconds. \n\n🐳 \n\nNote, this assumes that you have a gentle grasp of what Docker Compose and Containerization are, so stay put for the rodeo!\n\n\n## Setup\n1. [Install Docker and Docker Compose on the Raspberry Pi]( https://dev.to/rohansawant/installing-docker-and-docker-compose-on-the-raspberry-pi-in-5-simple-steps-3mgl)\n2. Clone the [repo](https://github.com/CT83/Raspberry-Pi-PostGres-Docker-Compose) which contains the Compose file `git clone https://github.com/CT83/Raspberry-Pi-PostGres-Docker-Compose.git`\n2. Checkout the postgresql.conf, and configure  `listen_addresses` accordingly. By default, the container will be open to all users on the port *5432*.\n3. _Up_ the container. `sudo docker-compose up --build -d` \n\nThe container is at **\u003cIP\u003e:5432** with password _password@7979_. You can change this in the [docker-compose.yml](https://github.com/CT83/Raspberry-Pi-PostGres-Docker-Compose/blob/master/docker-compose.yml).\nNow, you can treat this like a full fledged PostGres server and do your PG-Admin Stuff. 😇\n\nThe PostGres Server can be accessed by any device on the network! \nUse this to build a _truly decentralized off-site infrastructure_ where each container runs on a separate low powered Raspberry Pi Zero, maybe?\n\n### Credits\nThis would have been impossible without the base image created by [Tobias H](https://github.com/Tob1asDocker). \n*I just added the docker-compose and a conf to allow other network hosts to connect to it*\nYou can check it out [here](https://github.com/Tob1asDocker/rpi-postgresql)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fct83%2Fraspberry-pi-postgres-docker-compose","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fct83%2Fraspberry-pi-postgres-docker-compose","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fct83%2Fraspberry-pi-postgres-docker-compose/lists"}