mirror of
				https://gitea.invidious.io/iv-org/invidious
				synced 2025-06-05 23:29:12 +02:00 
			
		
		
		
	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
This commit is contained in:
		| @@ -37,7 +37,8 @@ services: | |||||||
|       timeout: 5s |       timeout: 5s | ||||||
|       retries: 2 |       retries: 2 | ||||||
|     depends_on: |     depends_on: | ||||||
|       - invidious-db |       invidious-db: | ||||||
|  |         condition: service_healthy | ||||||
|  |  | ||||||
|   invidious-db: |   invidious-db: | ||||||
|     image: docker.io/library/postgres:14 |     image: docker.io/library/postgres:14 | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user