HTHou commented on code in PR #60:
URL: https://github.com/apache/iotdb-client-go/pull/60#discussion_r1014825639


##########
test/e2e/Dockerfile.iotdb-server:
##########
@@ -20,7 +20,11 @@
 FROM openjdk:11-jre-slim
 
 RUN apt update \
-  && apt install -y procps && apt clean
+  && apt install -y procps && apt clean \
+  && sed -i 's/# 
enable_influxdb_rpc_service=false/enable_influxdb_rpc_service=true/g' 
/usr/local/iotdb/conf/iotdb-common.properties \
+  && sed -i 's/dn_rpc_address=127.0.0.1/dn_rpc_address=0.0.0.0/g' 
/usr/local/iotdb/conf/iotdb-datanode.properties \
+  && sed -i 's/dn_internal_address=127.0.0.1/dn_internal_address=0.0.0.0/g' 
/usr/local/iotdb/conf/iotdb-datanode.properties \
+  && sed -i 's/cn_internal_address=127.0.0.1/cn_internal_address=0.0.0.0/g' 
/usr/local/iotdb/conf/iotdb-confignode.properties

Review Comment:
   ```suggestion
     && sed -i 's/dn_rpc_address=127.0.0.1/dn_rpc_address=0.0.0.0/g' 
/iotdb/conf/iotdb-datanode.properties \
     && sed -i 's/dn_internal_address=127.0.0.1/dn_internal_address=0.0.0.0/g' 
/iotdb/conf/iotdb-datanode.properties \
     && sed -i 's/cn_internal_address=127.0.0.1/cn_internal_address=0.0.0.0/g' 
/iotdb/conf/iotdb-confignode.properties \
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to