Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save owenconti/cd312e4bfab7ab4123794a230536e106 to your computer and use it in GitHub Desktop.
Save owenconti/cd312e4bfab7ab4123794a230536e106 to your computer and use it in GitHub Desktop.
Failing to start MySQL inside GitHub Actions
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
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
@wander4747
Copy link

What version ubuntu?

@owenconti
Copy link
Author

What version ubuntu?

@wander4747 ubuntu-latest - so 20.04

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment