version: "3.8" volumes: clickhouse: name: ${CLICKHOUSE_VOLUME_NAME:-clickhouse} services: clickhouse: container_name: ${CLICKHOUSE_CONTAINER_NAME:-clickhouse} image: ${CLICKHOUSE_IMAGE:-clickhouse/clickhouse-server:22.2.2.1-alpine} restart: always volumes: - clickhouse:/var/lib/clickhouse - /etc/timezone:/etc/timezone:ro - /etc/localtime:/etc/localtime:ro ulimits: nofile: soft: 262144 hard: 262144