docker

Docker for services
git clone git://git.unixkoans.com/docker.git
Log | Files | Refs

commit e971b39a541c55469523fe21bd69acad93a2c1ea
parent 9e50af396d94d01ba6701b1a57d864681448cffa
Author: Xiaodong Xu <xuxiaodong@medatc.com>
Date:   Tue May 29 21:42:47 +0800

Add MySQL

Diffstat:
mysql/docker-compose.yml | 12++++++++++++
1 file changed, 12 insertions(+), 0 deletions(-)
diff --git a/mysql/docker-compose.yml b/mysql/docker-compose.yml @@ -0,0 +1,12 @@ +version: '2' + +services: + mysql: + image: mysql:5.5 + restart: always + ports: + - 3306:3306 + volumes: + - ./data:/var/lib/mysql + environment: + - MYSQL_ROOT_PASSWORD=root