ClickHouse/docker/test/integration/runner/compose/docker_compose_kerberized_hdfs.yml

30 lines
871 B
YAML
Raw Normal View History

2020-09-10 10:02:46 +00:00
version: '2.3'
services:
kerberizedhdfs1:
cap_add:
- DAC_READ_SEARCH
image: yandex/clickhouse-kerberized-hadoop:16621
2020-09-10 10:02:46 +00:00
hostname: kerberizedhdfs1
restart: always
volumes:
2021-02-20 18:59:45 +00:00
- ${KERBERIZED_HDFS_DIR}/../../hdfs_configs/bootstrap.sh:/etc/bootstrap.sh:ro
- ${KERBERIZED_HDFS_DIR}/secrets:/usr/local/hadoop/etc/hadoop/conf
- ${KERBERIZED_HDFS_DIR}/secrets/krb_long.conf:/etc/krb5.conf:ro
2020-09-10 10:02:46 +00:00
ports:
- 1006:1006
- 50070:50070
- 9010:9010
2020-09-10 10:02:46 +00:00
depends_on:
2021-02-20 18:59:45 +00:00
- hdfskerberos
2020-09-10 10:02:46 +00:00
entrypoint: /etc/bootstrap.sh -d
hdfskerberos:
image: yandex/clickhouse-kerberos-kdc:${DOCKER_KERBEROS_KDC_TAG}
hostname: hdfskerberos
2020-09-10 10:02:46 +00:00
volumes:
2021-02-20 18:59:45 +00:00
- ${KERBERIZED_HDFS_DIR}/secrets:/tmp/keytab
- ${KERBERIZED_HDFS_DIR}/../../kerberos_image_config.sh:/config.sh
- /dev/urandom:/dev/random
2020-09-10 10:02:46 +00:00
ports: [88, 749]