mirror of
https://github.com/iv-org/invidious.git
synced 2025-08-02 18:58:29 +00:00
Improve depends_on checking the service is up and healthy before start the service that might cause issue first boot
This commit is contained in:
parent
c5b87e3b5e
commit
0c845362f7
@ -37,7 +37,9 @@ services:
|
|||||||
timeout: 5s
|
timeout: 5s
|
||||||
retries: 2
|
retries: 2
|
||||||
depends_on:
|
depends_on:
|
||||||
- invidious-db
|
invidious-db:
|
||||||
|
condition: service_healthy
|
||||||
|
restart: true
|
||||||
|
|
||||||
invidious-db:
|
invidious-db:
|
||||||
image: docker.io/library/postgres:14
|
image: docker.io/library/postgres:14
|
||||||
|
Loading…
Reference in New Issue
Block a user