mirror of
http://git.pig4cloud.com/pig/pigx.git
synced 2026-11-14 06:09:03 +08:00
🐳 Work about Docker. add mysql dockerfile
This commit is contained in:
1 parent
427ec57d6a
commit
bcc1d668f4
5 files changed
+24
No files matched your search
@@ -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:
|
||||
|
||||
Reference in new issue
Block a user