blob: 84ca3efe401f13903457c7494956c9feaeb70d5b [file]
services:
ranger-usersync:
build:
context: .
dockerfile: Dockerfile.ranger-usersync
args:
- RANGER_BASE_IMAGE=${RANGER_BASE_IMAGE}
- RANGER_BASE_VERSION=${RANGER_BASE_VERSION}
- USERSYNC_VERSION=${USERSYNC_VERSION}
- KERBEROS_ENABLED=${KERBEROS_ENABLED}
image: ranger-usersync
container_name: ranger-usersync
hostname: ranger-usersync.rangernw
volumes:
- ./dist/keytabs/ranger-usersync:/etc/keytabs
- ./scripts/kdc/krb5.conf:/etc/krb5.conf
- ./scripts/hadoop/core-site.xml:/home/ranger/scripts/core-site.xml
- ./dist/version:/home/ranger/dist/version:ro
- ./scripts/usersync/ugsync-file-source.csv:/home/ranger/scripts/ugsync-file-source.csv
- ./scripts/usersync/ranger-usersync-install.properties:/opt/ranger/usersync/install.properties
stdin_open: true
tty: true
networks:
- ranger
depends_on:
ranger:
condition: service_started
environment:
- USERSYNC_VERSION
- ENABLE_FILE_SYNC_SOURCE
- DEBUG_USERSYNC=${DEBUG_USERSYNC:-false}
- KERBEROS_ENABLED
- JAVA_OPTS
networks:
ranger:
name: rangernw