Postgres

Infrastructure

database docker image

SHOW HN2021

130points
28comments
#393of 2,533 in 2021
Top 16%of 2021 by points

How HN took it

CuriousMostly questions and neutral comments

0 positive, 11 neutral or asking, 0 mixed, 4 critical, out of 15 comments about the project. Thread score -0.20.

Design: 0 for, 4 against

The thread, comment by comment

Each row is a top-level comment and its replies, in HN's order. Select a cell to open that comment on HN.

positive neutral or mixed critical about another commenter or something else the maker

What HN said

Objections

  • Running multiple processes in one container is poor practice and hard to health-check

    From 2 comments
    • 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…
      frafra on HN
    • 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…
      debarshri on HN
  • Using Ansible to build a Docker image is unconventional and harder to inspect than a Dockerfile

    From 2 comments
    • 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…
      mr-karan on HN
    • 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…
      matt123456789 on HN

Requests

  • Document how to connect, including pgbouncer

    From 1 comment
    • Is pgbouncer enabled by default in here ? One other request - could you write how to use it (connect to it) ?
      sandGorgon on HN

Questions

  • Why Ansible instead of a Dockerfile

    From 1 comment
    • 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…
      matt123456789 on HN
  • Is pgbouncer enabled by default

    From 1 comment
    • Is pgbouncer enabled by default in here ? One other request - could you write how to use it (connect to it) ?
      sandGorgon on HN

Alternatives named

  • Zalando Spilo / Patroni operator

    From 1 comment
    • 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…
      gattacamovie on HN
  • CrunchyData postgres-operator

    From 1 comment
    • Not really replying to your question. But recently I got the occasion to work with https://github.com/CrunchyData/postgres-operator . It's a bit rough around the edges wit the…
      gyzmau on HN
  • CockroachDB and YugabyteDB

    From 1 comment
    • 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…
      gattacamovie on HN

Category, keywords, summaries and labels on this page were made by AI (Thread Reader v2) and not checked by hand. Each point links to the comments it came from.

Add a badge to your READMEShown on HackerShow
[![Shown on HackerShow](https://hackershow.org/badge.svg)](https://hackershow.org/show/28430439)