mirror of
				https://github.com/kevinveenbirkenbach/computer-playbook.git
				synced 2025-10-31 10:19:09 +00:00 
			
		
		
		
	Added healthcheck for mariadb
This commit is contained in:
		| @@ -28,6 +28,11 @@ services: | ||||
|     volumes: | ||||
|       - database:/var/lib/mysql | ||||
|     restart: always | ||||
|     healthcheck: | ||||
|       test: "/usr/bin/mysql --user=nextcloud --password={{nextcloud_database_password}} --execute \"SHOW DATABASES;\"" | ||||
|       interval: 3s | ||||
|       timeout: 1s | ||||
|       retries: 5 | ||||
|   web: | ||||
|     image: nginx:alpine | ||||
|     logging: | ||||
|   | ||||
		Reference in New Issue
	
	Block a user