blob: dacbbf0ccc1d6b35610552d0ed4dc0f8e6818269 [file] [log] [blame]
services:
ranger-hadoop:
build:
context: .
dockerfile: Dockerfile.ranger-hadoop
args:
- RANGER_BASE_IMAGE=${RANGER_BASE_IMAGE}
- RANGER_BASE_VERSION=${RANGER_BASE_VERSION}
- 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