Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- version: '3.1'
- services:
- db:
- image: mysql
- restart: always
- volumes:
- - ./docker-entrypoint-initdb.d:/docker-entrypoint-initdb.d
- environment:
- MYSQL_ROOT_PASSWORD: root
- MYSQL_DATABASE: testDb
- MYSQL_USER: test
- MYSQL_PASSWORD: test
- ports:
- - "3306:3306"
Add Comment
Please, Sign In to add comment