Commit 8366c966 authored by Markus Scheidgen's avatar Markus Scheidgen
Browse files

Merge branch 'k8s-dbs' into 'v1.0.0'

K8s dbs

See merge request !175
parents cdf35056 6d706f5a
Pipeline #82375 passed with stages
in 33 minutes and 40 seconds
version: '2.2'
services:
elasticsearch:
restart: always
image: docker.elastic.co/elasticsearch/elasticsearch:6.7.2
container_name: nomad_elastic_cluster_1_node_1
environment:
......@@ -19,6 +20,7 @@ services:
networks:
- nomad_elastic_cluster_1
elasticsearch2:
restart: always
image: docker.elastic.co/elasticsearch/elasticsearch:6.7.2
container_name: nomad_elastic_cluster_2_node_2
environment:
......
......@@ -19,9 +19,6 @@ filter {
}
}
output {
stdout {
codec => rubydebug
}
elasticsearch {
hosts => ["elasticsearch:9200"]
}
......
......@@ -35,20 +35,7 @@ services:
# the user data db
mongo:
restart: always
image: a0e2e64ac939
volumes:
- /scratch/fairdi/db/mongo:/data/db
# used for centralized logging
elk:
restart: always
build: ../../containers/elk/
image: nomad/elk
container_name: nomad_elk
expose:
- 5000 # logstash beats
volumes:
- /nomad/fairdi/db/elk:/var/lib/elasticsearch
ports:
- 5601:5601 # kibana web
- 5000:5000
- 9201:9200 # allows metricbeat config to access es
command: mongod --wiredTigerCacheSizeGB=128 --logpath=/dev/null # --quiet
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment