Skip to content

πŸ“š The open-source, offline-first Notion, Obsidian & Confluence alternative. Advanced Markdown, multi-tenant teams, OIDC/SSO, and local S3 backups. Deploy in one command.

fix: mysql healthcheck

Smaug6739ffc55422b86b
diff --git a/docker-compose.yml b/docker-compose.yml
index f05e2c51..0bb87206 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -16,9 +16,10 @@ services:
networks:
- alexandrie-network
healthcheck:
- test: ['CMD-SHELL', "mysql -u$${MYSQL_USER} -p$${MYSQL_PASSWORD} -e 'SELECT 1' $${MYSQL_DATABASE}"]
+ test: ['CMD', 'mysqladmin', 'ping', '-h', 'localhost', '-u', 'root', '-p${MYSQL_ROOT_PASSWORD:-rootpassword}']
timeout: 10s
retries: 5
+ interval: 30s
start_period: 30s
# Object Storage (RustFS, S3 compatible)