Viewing profile — stavepan
stavepan
HN member- Joined
- Tue, Jun 15, 2021, 7:35 PM UTC
- HN karma
- 224
- Public activity
- 16 items
- HN profile
- View on Hacker News ↗
About stavepan
No profile information was provided.
Recent public activity
- story
- story
- story
-
comment
Comment #40188210
Healthchecks are a great way to achieve this. As this repository mentions, this is the example using PostgreSQL. depends_on: postgres-database: condition: service_healthy healthche…
-
comment
Comment #40188068
Many people have the following setup in docker-compose.yml file. version: '3' services: mysql: image: mysql:8.0 app: build: . command: is_ready --timeout 10 --addr mysql:3306 -- Fo…
-
comment
Comment #40188051
To be honest, I wanted to make the title more specific regarding dependencies but the title was already too big.
-
comment
Comment #40188040
That's true. For example, in the case of PostgreSQL, there is already a tool called pg_isready [0] to do this inside a healthcheck as you described. services: postgres-db: image: p…
-
comment
Comment #40187157
Can you suggest to me one way for an API service to wait for a database to accept connections to run the database migrations without the API depending on the liveness of the databa…
-
comment
Comment #40186803
Interesting idea for a feature request. I would love to read a GitHub issue with your specific case so I can start investigating and think about how to solve a problem like this.
-
comment
Comment #40186797
Interesting project, I was not familiar with that. Thanks for letting me know :)
-
comment
Comment #40186788
Regarding zero dependencies, I meant that it is a static binary and does not need any external tools to be installed. For example, some alternatives require netcat to be installed.…
-
comment
Comment #40186773
is_ready is an alternative to this. I built it for many reasons: - Most docker images do not contain netcat so you would have to download one of them in any case. - In the case of …
- story
- story
-
comment
Comment #34330483
I also believe that one week and 30mins are are not enough for 1-on-1s. In my company, we do 1-on-1s once a month for 1 hour. The manager asks questions like: - How are you? - What…
- story