blob: c6aade0e72c00a6e7dd85d108e162962c927b4de [file] [log] [blame]
version: '3'
services:
ranger-hadoop:
build:
context: .
dockerfile: Dockerfile.ranger-hadoop
args:
- HADOOP_VERSION=${HADOOP_VERSION}
- HDFS_PLUGIN_VERSION=${HDFS_PLUGIN_VERSION}
- YARN_PLUGIN_VERSION=${YARN_PLUGIN_VERSION}
image: ranger-hadoop
container_name: ranger-hadoop
hostname: ranger-hadoop.example.com
stdin_open: true
tty: true
networks:
- ranger
ports:
- "9000:9000"
- "8088:8088"
depends_on:
ranger:
condition: service_started
healthcheck:
test: "hdfs dfs -ls /hbase"
interval: 1m30s
timeout: 10s
retries: 30
start_period: 40s
environment:
- HADOOP_VERSION
- HDFS_PLUGIN_VERSION
- YARN_PLUGIN_VERSION
networks:
ranger:
name: rangernw