Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[INLONG-5466][Docker] Add the ENV for Manager Open API secret config #5468

Merged
merged 2 commits into from
Aug 11, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions inlong-agent/agent-docker/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,6 @@ docker pull inlong/agent:latest
```
docker run -d --name agent -p 8008:8008 \
-e MANAGER_OPENAPI_IP=manager_opeapi_ip -e DATAPROXY_IP=dataproxy_ip \
-e MANAGER_OPENAPI_AUTH_ID=auth_id -e MANAGER_OPENAPI_AUTH_KEY=auth_key \
-e MANAGER_OPENAPI_PORT=8082 -e DATAPROXY_PORT=46801 inlong/agent
```
4 changes: 2 additions & 2 deletions inlong-agent/agent-docker/agent-docker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ audit.proxys=$AUDIT_PROXY_URL
agent.cluster.tag=$CLUSTER_TAG
agent.cluster.name=$CLUSTER_NAME
agent.cluster.inCharges=$CLUSTER_IN_CHARGES
agent.manager.auth.secretId=
agent.manager.auth.secretKey=
agent.manager.auth.secretId=$MANAGER_OPENAPI_AUTH_ID
agent.manager.auth.secretKey=$MANAGER_OPENAPI_AUTH_KEY
EOF
# start
bash +x ${file_path}/bin/agent.sh start
Expand Down