Created
April 12, 2021 16:33
-
-
Save owenconti/cd312e4bfab7ab4123794a230536e106 to your computer and use it in GitHub Desktop.
Failing to start MySQL inside GitHub Actions
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
services: | |
mysql: | |
image: mysql:8 | |
env: | |
MYSQL_USER: laravel_user | |
MYSQL_PASSWORD: laravel_pass | |
MYSQL_ROOT_PASSWORD: root | |
MYSQL_DATABASE: laravel_db | |
ports: | |
- 3306:3306 | |
options: --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
services: | |
mysql: | |
image: mysql:8 | |
env: | |
MYSQL_USER: root | |
MYSQL_PASSWORD: root | |
MYSQL_ROOT_PASSWORD: root | |
MYSQL_DATABASE: laravel_db | |
ports: | |
- 3306:3306 | |
options: --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What version ubuntu?