mirror of
				https://bitbucket.org/jsuto/piler.git
				synced 2025-10-31 13:12:26 +01:00 
			
		
		
		
	Added healthcheck to mysql container
Signed-off-by: Janos SUTO <sj@acts.hu>
This commit is contained in:
		| @@ -16,6 +16,12 @@ services: | ||||
|       - MYSQL_PASSWORD=piler123 | ||||
|       - MYSQL_RANDOM_ROOT_PASSWORD=yes | ||||
|     command: --character-set-server=utf8mb4 --collation-server=utf8mb4_unicode_ci | ||||
|     healthcheck: | ||||
|       test: mysql --user=piler --password=piler123 piler --execute "show tables" | ||||
|       interval: "60s" | ||||
|       timeout: "5s" | ||||
|       start_period: "15s" | ||||
|       retries: 3 | ||||
|     volumes: | ||||
|       - db_data:/var/lib/mysql | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user