pull/1/head
parent
f0001de997
commit
6179fb1da1
@ -0,0 +1,18 @@
|
|||||||
|
version: '3'
|
||||||
|
services:
|
||||||
|
hadoop:
|
||||||
|
restart: always
|
||||||
|
image: hadoop:latest
|
||||||
|
container_name: hadoop
|
||||||
|
# volumes:
|
||||||
|
# - /apps/mysql/mydir:/mydir
|
||||||
|
# - /apps/mysql/datadir:/var/lib/mysql
|
||||||
|
# - /apps/mysql/conf/my.cnf:/etc/my.cnf
|
||||||
|
# # 数据库还原目录 可将需要还原的sql文件放在这里
|
||||||
|
# - /apps/mysql/source:/docker-entrypoint-initdb.d
|
||||||
|
environment:
|
||||||
|
- "TZ=Asia/Shanghai"
|
||||||
|
ports:
|
||||||
|
# 使用宿主机的3306端口映射到容器的3306端口
|
||||||
|
# 宿主机:容器
|
||||||
|
- 5000:8080
|
Loading…
Reference in New Issue