Documentation for docker environment variables

Hi,

Is there any documentation available for environment parameters than can be used when setting up APM through docker-compose? For example, when configuring ElasticSearch you can use the following yaml in place of a dedicated configuration file:

image: docker.elastic.co/elasticsearch/elasticsearch:6.1.1
environment:
  - "ES_JAVA_OPTS=-Xms512m -Xmx512m"
  - discovery.zen.minimum_master_nodes=1 

Is there a similar method for configuring APM?

Hi Ryan,

Thank you for your interest in Elastic APM!

APM Server doesn't read environment variables directly, but you can use environment variables to configure APM Server by specifying them on the command line. I agree we need to document how to do that. I've created this issue to that effect

The issue includes an example of how to set configuration options through environment variables when using docker-compose.

Hope that helps!

Hi Ron, that helps a lot. Thanks, and happy holidays

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