🐳 Work about Docker. add mysql dockerfile

This commit is contained in:
冷冷 committed 2018-12-08 09:57:24 +08:00
1 parent 427ec57d6a
commit bcc1d668f4
5 files changed
+24

No files matched your search

+12
View File
@@ -1,5 +1,17 @@
version: '2'
services:
pigx-mysql:
build:
context: ./
dockerfile: ./doc/db/Dockerfile
environment:
MYSQL_ROOT_PASSWORD: root
restart: always
container_name: pigx-mysql
image: pigx-mysql
ports:
- 3306:3306
pigx-zookeeper:
image: zookeeper:3.4.13
ports: