update
This commit is contained in:
23
logstash6/Demo/SingleNode/docker-compose.yml
Normal file
23
logstash6/Demo/SingleNode/docker-compose.yml
Normal file
@@ -0,0 +1,23 @@
|
||||
version: "3.7"
|
||||
|
||||
services:
|
||||
logstash:
|
||||
image: harbor.colben.cn/general/logstash:6
|
||||
container_name: logstash
|
||||
restart: "on-failure"
|
||||
stop_grace_period: 2m
|
||||
network_mode: host
|
||||
volumes:
|
||||
- type: bind
|
||||
source: ./es/config
|
||||
target: /opt/es/config
|
||||
- type: bind
|
||||
source: ./es/data
|
||||
target: /opt/es/data
|
||||
- type: bind
|
||||
source: ./es/logs
|
||||
target: /opt/es/logs
|
||||
- type: bind
|
||||
source: ./es/offline-plugins
|
||||
target: /opt/es/offline-plugins
|
||||
|
||||
Reference in New Issue
Block a user