Skip to content

Instantly share code, notes, and snippets.

@matsubo
Last active May 6, 2022
Embed
What would you like to do?
diff --git a/docker-compose.yml b/docker-compose.yml
index 2ebf9f0..8a02a5e 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -1,11 +1,12 @@
version: '3'
services:
db:
- image: mysql:8.0
+ image: mysql/mysql-server:8.0
volumes:
- mysql_data:/var/lib/mysql:cached
environment:
MYSQL_ROOT_PASSWORD: 0fj4l3muBP7tpKtg
+ MYSQL_ROOT_HOST: '%'
app:
build: .
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment