This is an automated email from the ASF dual-hosted git repository.
dockerzhang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/inlong.git
The following commit(s) were added to refs/heads/master by this push:
new 3b5cb6515 [INLONG-6702][DataProxy] Modify the default network card
name to obtain the local IP (#6703)
3b5cb6515 is described below
commit 3b5cb65159e1f70d6e00cb7bce7a90d4f1b65b68
Author: chestnufang <[email protected]>
AuthorDate: Fri Dec 2 11:56:28 2022 +0800
[INLONG-6702][DataProxy] Modify the default network card name to obtain the
local IP (#6703)
Co-authored-by: chestnufang <[email protected]>
---
docker/docker-compose/docker-compose.yml | 1 +
inlong-dataproxy/dataproxy-docker/Dockerfile | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/docker/docker-compose/docker-compose.yml
b/docker/docker-compose/docker-compose.yml
index b3db40fcc..5c7c9a786 100644
--- a/docker/docker-compose/docker-compose.yml
+++ b/docker/docker-compose/docker-compose.yml
@@ -82,6 +82,7 @@ services:
- MANAGER_OPENAPI_PORT=8083
- AUDIT_PROXY_URL=audit:10081
- MQ_TYPE=pulsar
+ - ETH_NAME=eth0
agent:
image: inlong/agent:${VERSION_TAG}
diff --git a/inlong-dataproxy/dataproxy-docker/Dockerfile
b/inlong-dataproxy/dataproxy-docker/Dockerfile
index 87e35dbff..11b314338 100644
--- a/inlong-dataproxy/dataproxy-docker/Dockerfile
+++ b/inlong-dataproxy/dataproxy-docker/Dockerfile
@@ -27,7 +27,7 @@ EXPOSE 46801 46802
ENV MANAGER_OPENAPI_IP=127.0.0.1
ENV MANAGER_OPENAPI_PORT=8083
# specify the name of the network card in the container to obtain the local IP
-ENV ETH_NAME=eth1
+ENV ETH_NAME=eth0
# enable audit, true or false
ENV AUDIT_ENABLE=true
ENV AUDIT_PROXY_URL=127.0.0.1:10081