Skip to content

Commit

Permalink
Issue backdrop-contrib#378: Fix lando mysql healthcheck warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
yorkshire-pudding committed May 11, 2024
1 parent fcd4349 commit c744379
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .lando.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ services:
run:
# Run setup tasks.
- /app/.lando/setup.sh setup
database:
healthcheck: mysql --defaults-extra-file=/app/.lando/mysql.cnf --silent --execute "SHOW DATABASES;"
multisite:
type: php:8.2
webroot: multisite
Expand Down
4 changes: 4 additions & 0 deletions .lando/mysql.cnf
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[client]
user=backdrop
password=backdrop
host=database

0 comments on commit c744379

Please sign in to comment.