2020-09-10 10:02:46 +00:00
|
|
|
services:
|
|
|
|
kerberizedhdfs1:
|
2020-09-28 17:20:04 +00:00
|
|
|
cap_add:
|
2020-10-30 19:40:16 +00:00
|
|
|
- DAC_READ_SEARCH
|
2022-02-13 13:39:30 +00:00
|
|
|
image: clickhouse/kerberized-hadoop:${DOCKER_KERBERIZED_HADOOP_TAG:-latest}
|
2020-09-10 10:02:46 +00:00
|
|
|
hostname: kerberizedhdfs1
|
|
|
|
restart: always
|
|
|
|
volumes:
|
2021-02-19 14:42:43 +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
|
|
|
|
- type: ${KERBERIZED_HDFS_FS:-tmpfs}
|
|
|
|
source: ${KERBERIZED_HDFS_LOGS:-}
|
|
|
|
target: /var/log/hadoop-hdfs
|
2021-06-09 09:23:02 +00:00
|
|
|
expose:
|
2023-01-02 16:45:50 +00:00
|
|
|
- ${KERBERIZED_HDFS_NAME_PORT:-50070}
|
|
|
|
- ${KERBERIZED_HDFS_DATA_PORT:-1006}
|
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
|
2023-08-02 09:08:47 +00:00
|
|
|
sysctls:
|
|
|
|
net.ipv4.ip_local_port_range: '55000 65535'
|
2020-09-10 10:02:46 +00:00
|
|
|
|
2020-09-28 17:20:04 +00:00
|
|
|
hdfskerberos:
|
2021-09-06 11:33:39 +00:00
|
|
|
image: clickhouse/kerberos-kdc:${DOCKER_KERBEROS_KDC_TAG:-latest}
|
2020-09-28 17:20:04 +00:00
|
|
|
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
|
2021-06-09 09:23:02 +00:00
|
|
|
expose: [88, 749]
|
2023-08-02 09:08:47 +00:00
|
|
|
sysctls:
|
|
|
|
net.ipv4.ip_local_port_range: '55000 65535'
|