mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-05 22:12:21 +00:00
344d648cab
As it turns out, docker does not pass through the sysctls, so adjust this for know users of unprivileged ports (>32K): - HDFS - kafka Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
17 lines
475 B
YAML
17 lines
475 B
YAML
version: '2.3'
|
|
services:
|
|
hdfs1:
|
|
image: sequenceiq/hadoop-docker:2.7.0
|
|
hostname: hdfs1
|
|
restart: always
|
|
expose:
|
|
- ${HDFS_NAME_PORT:-50070}
|
|
- ${HDFS_DATA_PORT:-50075}
|
|
entrypoint: /etc/bootstrap.sh -d
|
|
volumes:
|
|
- type: ${HDFS_FS:-tmpfs}
|
|
source: ${HDFS_LOGS:-}
|
|
target: /usr/local/hadoop/logs
|
|
sysctls:
|
|
net.ipv4.ip_local_port_range: '55000 65535'
|