Skip to content

Commit 8621a96

Browse files
fix(ci): set DD_HOSTNAME in the agent container (#4458) (#4468)
Agent version v7.40.0 introduced a breaking change which will cause the agent to fail to start if DD_HOSTNAME is not set and the agent cannot deduce a hostname for the container. https://github.com/DataDog/datadog-agent/releases/tag/7.40.0 (see the "Other Notes" section) Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> (cherry picked from commit 398f025) Co-authored-by: Kyle Verhoog <[email protected]>
1 parent 45960bf commit 8621a96

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

docker-compose.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ services:
9494
ddagent:
9595
image: datadog/agent:latest
9696
environment:
97+
- DD_HOSTNAME=github-actions-worker
9798
- DD_BIND_HOST=0.0.0.0
9899
- DD_API_KEY=${DD_API_KEY-invalid_but_this_is_fine}
99100
- DD_APM_RECEIVER_SOCKET=/tmp/ddagent/trace.sock

0 commit comments

Comments
 (0)