mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-23 09:53:15 +00:00
put worker log to ELK
This commit is contained in:
@@ -91,6 +91,30 @@ services:
|
||||
image: kibana:4.6.6
|
||||
ports:
|
||||
- 5601:5601
|
||||
links:
|
||||
- elasticsearch
|
||||
depends_on:
|
||||
- elasticsearch
|
||||
|
||||
logstash:
|
||||
image: logstash:7.6.2
|
||||
links:
|
||||
- elasticsearch
|
||||
volumes:
|
||||
- ${PHRASEANET_CONFIG_DIR}:/var/alchemy/Phraseanet/config:rw
|
||||
command: logstash -f /var/alchemy/Phraseanet/config/logstash.conf
|
||||
depends_on:
|
||||
- elasticsearch
|
||||
restart: on-failure
|
||||
|
||||
filebeat:
|
||||
hostname: filebeat
|
||||
image: "docker.elastic.co/beats/filebeat:7.6.2"
|
||||
volumes:
|
||||
- ${PHRASEANET_CONFIG_DIR}/filebeat.yml:/usr/share/filebeat/filebeat.yml:ro
|
||||
- ${PHRASEANET_LOGS_DIR}:/var/alchemy/Phraseanet/logs:ro
|
||||
command: filebeat run -e --strict.perms=false
|
||||
restart: on-failure
|
||||
|
||||
networks:
|
||||
default:
|
||||
|
Reference in New Issue
Block a user