EOX GitLab Instance

Skip to content
Snippets Groups Projects
Commit 4c12eb7b authored by Bernhard Mallinger's avatar Bernhard Mallinger
Browse files

Add possible production ES config

It's still very similar to dev, common configs could be extracted
parent 6b62a510
No related branches found
No related tags found
1 merge request!17Resolve "Integrate ELK stack with Fluentd"
version: "3.6"
services:
fluentd:
image: registry.gitlab.eox.at/esa/prism/vs/fluentd:0.0.0-test
configs:
- source: fluentd-conf
target: /fluentd/etc/fluent.conf
ports:
- "24224:24224"
- "24224:24224/udp"
networks:
- logging
deploy:
# fluentd doesn't need to be deployed globally, but it might be a good
# default to have it everywhere
mode: global
elasticsearch:
image: elasticsearch:7.9.0
ports:
- "9200:9200"
networks:
- logging
environment:
- bootstrap.memory_lock=true
- "ES_JAVA_OPTS=-Xms512m -Xmx512m"
- "discovery.type=single-node"
ulimits:
memlock:
soft: -1
hard: -1
nofile:
soft: 65536
hard: 65536
deploy:
replicas: 1
placement:
constraints: [node.role == manager]
resources:
limits:
memory: 1000M
volumes:
- es-data:/usr/share/elasticsearch/data
kibana:
image: kibana:7.9.0
ports:
- "5601:5601"
networks:
- logging
deploy:
mode: replicated
replicas: 1
placement:
constraints: [node.role == manager]
configs:
fluentd-conf:
file: ./fluentd/conf/fluent.conf
volumes:
es-data:
networks:
logging:
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment