Fix environment with env_file bug

This commit is contained in:
Hang Yan
2018-07-10 13:15:36 +08:00
parent e8990233b2
commit 3b04a9178a
6 changed files with 413 additions and 6 deletions
+13
View File
@@ -0,0 +1,13 @@
version: '3'
services:
namenode:
image: bde2020/hadoop-namenode:2.0.0-hadoop2.7.4-java8
volumes:
- namenode:/hadoop/dfs/name
environment:
- CLUSTER_NAME=test
env_file:
- ./hadoop-hive-namenode.env
ports:
- "50070:50070"
- "8020:8020"