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

Document how to use environment variables to configure APM server #440

Closed
roncohen opened this issue Dec 23, 2017 · 2 comments
Closed

Document how to use environment variables to configure APM server #440

roncohen opened this issue Dec 23, 2017 · 2 comments
Labels

Comments

@roncohen
Copy link
Contributor

roncohen commented Dec 23, 2017

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. We need to document examples on how to configure the APM Server through environment variables, for example for docker-compose:

version: "2.1"
services:
  apm-server:
    image: docker.elastic.co/apm/apm-server:${STACK_VERSION:-6.1.1}
    environment:
      - ESHOST="http://differentHost:9200"
    command: apm-server -e -E output.elasticsearch.hosts=$${ESHOST}"
@roncohen
Copy link
Contributor Author

@roncohen roncohen added the docs label Dec 24, 2017
@simitt simitt assigned simitt and unassigned simitt Jan 26, 2018
@simitt
Copy link
Contributor

simitt commented Jan 26, 2018

implemented in #548

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants