diff --git a/init/6.kafka.sh b/init/6.kafka.sh index 840f921..0a621f6 100755 --- a/init/6.kafka.sh +++ b/init/6.kafka.sh @@ -57,8 +57,6 @@ docker run -d \ -e KAFKA_CFG_LOG_RETENTION_HOURS=168 \ -e KAFKA_CFG_LOG_RETENTION_BYTES=-1 \ -e KAFKA_CFG_DELETE_TOPIC_ENABLE=true \ ---env TZ=Asia/Shanghai \ ---mount type=bind,source=/etc/localtime,target=/etc/localtime,readonly \ --mount type=volume,source=${KAFKA_DATA},target=/bitnami/kafka \ --memory ${KAFKA_MEMORY} \ --restart unless-stopped \