Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 7 additions & 5 deletions compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -136,17 +136,19 @@ services:
# ok to hard-code them here.
###################################################
mysql:
image: mysql:9.3
image: mysql:8.0
volumes:
- todo-mysql-data:/var/lib/mysql
environment:
MYSQL_ROOT_PASSWORD: secret
MYSQL_DATABASE: todos
MYSQL_ROOT_HOST: '%'
healthcheck:
test: ["CMD", "mysqladmin", "ping", "-h", "localhost"]
interval: 5s
timeout: 5s
retries: 5
test: ["CMD", "mysqladmin", "ping", "-h", "localhost", "-u", "root", "-psecret"]
interval: 10s
timeout: 10s
retries: 10
start_period: 30s

###################################################
# Service: phpmyadmin
Expand Down