[{"data":1,"prerenderedAt":260},["ShallowReactive",2],{"project-28430439":3},{"id":4,"name":5,"line":6,"line_source":7,"title":8,"url":9,"domain":10,"maker":11,"posted_at":12,"year":13,"points":14,"comments":15,"rank_in_year":16,"shown_in_year":17,"top":18,"tier":19,"category":20,"subcategory":21,"format":22,"keywords":23,"reception":29,"sentiment":30,"stance_mix":31,"scored_comments":35,"aspects":36,"strip":39,"post_text":42,"what":43,"said":79,"maker_in_thread":140,"shape":143,"grid":146,"attempts":216,"same_week":221,"maker_shows":252,"maker_hidden":253,"reader_version":254,"card":255},"28430439","Postgres","Postgres Docker image with common extensions","title","Show HN: Postgres Docker image with common extensions","https:\u002F\u002Fgithub.com\u002Fsupabase\u002Fpostgres","github.com","kiwicopple",1630904362,2021,130,28,393,2533,16,"notable","infrastructure","database docker image","other",[24,25,26,27,28],"postgres","docker image","postgres extensions","postgis","pg_cron","curious",-0.2,{"positive":32,"neutral":33,"mixed":32,"critical":34},0,11,4,15,{"design":37,"docs":38},{"positive":32,"critical":34},{"positive":32,"critical":32},[40,40,32,40,41,32,32,32,40,40,40,40,32,32,41,41,41,40,40,32,32,32,32,32,40,32,32,40],3,1,null,{"problem":44,"audience":42,"pricing":42,"motivation":53,"time_to_build":42,"stack":61,"openness":76,"stage":77,"team_size":78},{"value":45,"source":46,"evidence":47},"Running Postgres with many common extensions preinstalled in a container","inferred",[48,50],{"id":49},"post",{"id":51,"by":11,"text":52},"28430444","Some of the extensions include: PostGIS, pg_cron, pgAudit, wal2json, and plv8.",{"value":54,"source":55,"evidence":56},"Uniform build for EC2, DO Droplet and Docker images, avoiding duplicate extension work","commenter",[57],{"id":58,"by":59,"text":60},"28431285","angelico","Hi! I'm one of the contributors to the repo. Primary reason was for uniformity. Initially, we built our EC2 and DO Droplet images with Ansible and our Docker image with a…",[62,68,72],{"value":63,"source":55,"evidence":64},"Postgres 13",[65],{"id":66,"by":59,"text":67},"28431382","Hi! I'm one of the contributors to the repo. Just to clarify, our Docker image [0] only contains the latest version of Postgres (13) and the common extensions listed out here…",{"value":69,"source":55,"evidence":70},"Ansible",[71],{"id":58,"by":59,"text":60},{"value":73,"source":55,"evidence":74},"Docker",[75],{"id":58,"by":59,"text":60},"unknown","launched","team",{"praise":80,"objections":81,"requests":104,"questions":112,"alternatives":121},[],[82,93],{"value":83,"source":55,"evidence":84},"Running multiple processes in one container is poor practice and hard to health-check",[85,89],{"id":86,"by":87,"text":88},"28431192","frafra","Isn't a bit problematic to run multiple processes in the same container? Docker can determine when a container is healthy or not, if it should be restarted and such; having a…",{"id":90,"by":91,"text":92},"28431364","debarshri","I think it is problem. For eg. Let's say the healthcheck is on the main postgres process but the side processes crash, it will create a problem. You will have a container running…",{"value":94,"source":55,"evidence":95},"Using Ansible to build a Docker image is unconventional and harder to inspect than a Dockerfile",[96,100],{"id":97,"by":98,"text":99},"28431278","mr-karan","This makes inspecting the Dockerfile so much more harder. Not only this is non uniformity, Ansible really isn't the tool of choice if you want to \"repeatedly\" perform…",{"id":101,"by":102,"text":103},"28430870","matt123456789","I’m not accustomed to seeing a Docker image configured with Ansible. Can someone who is familiar with this pattern of using Ansible to configure a Docker image and commit the…",[105],{"value":106,"source":55,"evidence":107},"Document how to connect, including pgbouncer",[108],{"id":109,"by":110,"text":111},"28430923","sandGorgon","Is pgbouncer enabled by default in here ? One other request - could you write how to use it (connect to it) ?",[113,117],{"value":114,"source":55,"evidence":115},"Why Ansible instead of a Dockerfile",[116],{"id":101,"by":102,"text":103},{"value":118,"source":55,"evidence":119},"Is pgbouncer enabled by default",[120],{"id":109,"by":110,"text":111},[122,129,136],{"value":123,"source":55,"evidence":124},"Zalando Spilo \u002F Patroni operator",[125],{"id":126,"by":127,"text":128},"28441121","gattacamovie","We use zalando's spilo image and its patroni operator for many years. Not only has the extensions, but everyhing configured and 'turn key solution' for both k8s and simple docker…",{"value":130,"source":55,"evidence":131},"CrunchyData postgres-operator",[132],{"id":133,"by":134,"text":135},"28431063","gyzmau","Not really replying to your question. But recently I got the occasion to work with https:\u002F\u002Fgithub.com\u002FCrunchyData\u002Fpostgres-operator . It's a bit rough around the edges wit the…",{"value":137,"source":55,"evidence":138},"CockroachDB and YugabyteDB",[139],{"id":126,"by":127,"text":128},{"comments":41,"answered":32,"key":141},[142],{"id":51,"text":52},{"commenters":144,"max_depth":34,"maker_replies":41,"first_comment_mins":41,"lifespan_hours":145},22,24,[147,149,152,156,159,161,164,166,169,171,173,175,178,181,184,185,188,189,191,193,196,201,204,206,207,210,211,214],[101,32,40,148,102,32],"project\u002Fneutral\u002Fdesign",[150,32,40,148,151,32],"28431115","tmpz22",[153,32,32,154,155,32],"28431202","commenter\u002Fneutral\u002Fnone","husarcik",[157,32,40,148,158,32],"28431859","manojlds",[97,32,41,160,98,32],"project\u002Fcritical\u002Fdesign",[162,32,32,154,163,32],"28431338","rgoulter",[165,32,32,154,158,32],"28431844",[167,32,32,154,168,32],"28434440","yjftsjthsd-h",[58,32,40,170,59,32],"maker\u002Fneutral\u002Fdesign",[172,32,40,170,87,32],"28431546",[174,32,40,170,59,32],"28431687",[176,32,40,148,177,32],"28437092","e12e",[179,32,32,154,180,32],"28431866","brigandish",[182,32,32,154,183,32],"28434800","mwarkentin",[86,41,41,160,87,32],[186,41,41,160,187,32],"28431268","sofixa",[90,41,41,160,91,32],[66,41,40,190,59,32],"maker\u002Fneutral\u002Fdocs",[192,41,40,148,87,32],"28431478",[194,41,32,154,195,32],"28432673","avereveard",[197,198,32,199,200,32],"28431148",2,"other\u002Fneutral\u002Fnone","geordee",[202,198,32,199,203,32],"28436202","edoceo",[51,40,32,205,11,41],"project\u002Fneutral\u002Fnone",[126,34,32,199,127,32],[109,208,40,209,110,32],5,"project\u002Fneutral\u002Fdocs",[133,208,32,199,134,32],[212,208,32,199,213,32],"28431297","mdasen",[215,208,40,190,59,32],"28431517",[217,220],{"id":218,"t":219,"points":40,"comments":41},"23018839",1588166886,{"id":4,"t":12,"points":14,"comments":15},[222,227,232,237,242,247],{"id":223,"name":224,"points":225,"category":226},"28446147","Bonsai",1070,"dev_tools",{"id":228,"name":229,"points":230,"category":231},"28435613","Age 1.0",494,"security_privacy",{"id":233,"name":234,"points":235,"category":236},"28400446","Note Garden",268,"productivity",{"id":238,"name":239,"points":240,"category":241},"28451071","locserendipity.com",266,"creative",{"id":243,"name":244,"points":245,"category":246},"28389773","HN Badges",242,"consumer_social",{"id":248,"name":249,"points":250,"category":251},"28442022","Xirva",238,"learning_science",13,false,"v2",{"id":256,"name":5,"line":6,"ai":253,"cat":20,"year":13,"points":14,"comments":15,"rec":29,"s":30,"top":18,"kw":257,"maker":11,"domain":10,"tier":19,"attempts":198,"strip":258,"url":9,"mix":259,"praise":-1,"objection":83,"sub":21},28430439,[24,25,26,27,28],"3303100033330011133000003003",[32,33,32,34],1794036610917]