mirror of
https://github.com/MichaelCade/90DaysOfDevOps.git
synced 2025-01-31 01:45:03 +07:00
23 lines
631 B
YAML
23 lines
631 B
YAML
version: '3.7'
|
|
|
|
services:
|
|
apm-server:
|
|
build:
|
|
context: extensions/apm-server/
|
|
args:
|
|
ELASTIC_VERSION: ${ELASTIC_VERSION}
|
|
command:
|
|
# Disable strict permission checking on 'apm-server.yml' configuration file
|
|
# https://www.elastic.co/guide/en/beats/libbeat/current/config-file-permissions.html
|
|
- --strict.perms=false
|
|
volumes:
|
|
- ./extensions/apm-server/config/apm-server.yml:/usr/share/apm-server/apm-server.yml:ro,Z
|
|
ports:
|
|
- '8200:8200'
|
|
environment:
|
|
ELASTIC_PASSWORD: ${ELASTIC_PASSWORD:-}
|
|
networks:
|
|
- elk
|
|
depends_on:
|
|
- elasticsearch
|