90DaysOfDevOps/Days/Monitoring/Elastic Stack/extensions/logspout/logspout-compose.yml
2022-03-28 08:11:09 +01:00

20 lines
389 B
YAML

version: '3.7'
services:
logspout:
build:
context: extensions/logspout
volumes:
- type: bind
source: /var/run/docker.sock
target: /var/run/docker.sock
read_only: true
environment:
ROUTE_URIS: logstash://logstash:5000
LOGSTASH_TAGS: docker-elk
networks:
- elk
depends_on:
- logstash
restart: on-failure