Why APM-Server Docker image can't configure with Environment variables?


(Daniel T Lee) #1


https://www.elastic.co/guide/en/apm/server/6.1/running-on-docker.html

Lot's of images on docker hub are available to configure with environment variables.

The use case of my example is, when running on Kubernetes, can't use "bind-mounted configuration."
well it's tough to configure with Volume mounted Configuration.

Custom Image might be an solution, but it's quite annoying to create a new image for just an url endpoint to my elasticsearch.

Any plan to configure this with Environment Variables?

ps.) If it is available, please document it.


(Ron Cohen) #2

Hi Daniel,

Thank you for your feedback. I agree it would be great if it was possible to configure APM Server through environment variables. To start us started, I opened up this PR: https://github.com/elastic/apm-server-docker/pull/5. It's still just a draft to get the discussion going. Let me know what you think.


(system) #3

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.