diff options
| author | Luigi <luigi.fox15@gmail.com> | 2023-12-18 23:18:05 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-12-18 22:18:05 +0000 |
| commit | 97c4165f55c4574efb554c9dae8d919d08da1cdd (patch) | |
| tree | 1653b3ac76739123beef7cba106cecd47fa672c1 /docker-compose.yml | |
| parent | 9e8baa35397671aabfc77f6b912c9f1829be52b6 (diff) | |
| download | invidious-97c4165f55c4574efb554c9dae8d919d08da1cdd.tar.gz invidious-97c4165f55c4574efb554c9dae8d919d08da1cdd.tar.bz2 invidious-97c4165f55c4574efb554c9dae8d919d08da1cdd.zip | |
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
Diffstat (limited to 'docker-compose.yml')
| -rw-r--r-- | docker-compose.yml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/docker-compose.yml b/docker-compose.yml index d879919a..42a5c06b 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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 |
