Improve depends_on docker-compose (#4249)

* Improve depends_on checking the service is up and healthy before start the service that might cause issue first boot

* Docker version Ubuntu 22.04 has a version which doesn't support restart
このコミットが含まれているのは:
Luigi 2023-12-18 23:18:05 +01:00 committed by GitHub
コミット 97c4165f55
この署名に対応する既知のキーがデータベースに存在しません
GPGキーID: 4AEE18F83AFDEB23
1個のファイルの変更2行の追加1行の削除

ファイルの表示

@ -37,7 +37,8 @@ services:
timeout: 5s
retries: 2
depends_on:
- invidious-db
invidious-db:
condition: service_healthy
invidious-db:
image: docker.io/library/postgres:14