Skip to content

Instantly share code, notes, and snippets.

@RyanKung
Last active June 4, 2020 10:36
Show Gist options
  • Save RyanKung/ae30abf2f168a7bfa9454b0e60764cc5 to your computer and use it in GitHub Desktop.
Save RyanKung/ae30abf2f168a7bfa9454b0e60764cc5 to your computer and use it in GitHub Desktop.
elk-apm-docker
apm-server:
host: "0.0.0.0:8200"
protocol: "http"
output.elasticsearch:
hosts: ["127.0.0.1:9200"]
protocol: "http"
FROM docker.elastic.co/apm/apm-server:7.7.0
COPY apm-server.yml /usr/share/apm-server/apm-server.yml
USER root
RUN chown root:apm-server /usr/share/apm-server/apm-server.yml
USER apm-server
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment