Last active
March 13, 2019 00:14
-
-
Save LotharSee/d07cd03162da1c30443f to your computer and use it in GitHub Desktop.
DogStatsD Dockerfile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM datadog/docker-dogstatsd | |
# Set your API key | |
RUN sed -i -e"s/^.*api_key:.*$/api_key: EXAMPLE_API_KEY/" /etc/dd-agent/datadog.conf |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Apparently environment variable works as well, so custom image may not be needed.