Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- version: '3.1'
- services:
- db:
- image: mysql:8.0
- command: --default-authentication-plugin=mysql_native_password
- restart: always
- ports:
- - "3306:3306"
- volumes:
- - ./data:/var/lib/mysql
- environment:
- MYSQL_ROOT_PASSWORD: example
- MYSQL_DATABASE: example
- MYSQL_USER: example
- MYSQL_PASSWORD: example
Add Comment
Please, Sign In to add comment