Skip to content

Commit ca9fa62

Browse files
authored
Expose mysql port in docker
1 parent 2cfd5d1 commit ca9fa62

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docker-compose.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ services:
1616
mysql:
1717
container_name: mysql
1818
image: mysql:5.7
19+
ports:
20+
- 3306:3306
1921
environment:
2022
MYSQL_ROOT_PASSWORD:
2123
MYSQL_DATABASE: unittest

0 commit comments

Comments
 (0)