Last active
February 16, 2024 10:41
-
-
Save fpompermaier/6020d22eadd3ada6a958a3da2c86cd03 to your computer and use it in GitHub Desktop.
Federate plugin on standalone ES docker-compose.yml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
services: | |
federate: | |
image: "docker.elastic.co/elasticsearch/elasticsearch:8.11.3" | |
user: elasticsearch | |
ports: | |
- "5005:5005" | |
- "9200:9200" | |
volumes: | |
# - ./plugin.zip:/tmp/plugin.zip | |
# - /home/flavio/git/siren-platform/core/target/releases/siren-federate-8.11.1-34.0-SNAPSHOT-plugin.zip:/tmp/plugin.zip | |
- /home/flavio/git/siren-platform/core/target/releases/siren-federate-8.11.3-34.0-SNAPSHOT-proguard-plugin.zip:/tmp/plugin.zip | |
environment: | |
- "ES_JAVA_OPTS=-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:5005 -Xms750m -Xmx750m" | |
- xpack.security.enabled=false | |
- discovery.type=single-node | |
- xpack.security.transport.ssl.enabled=false | |
- xpack.security.http.ssl.enabled=false | |
command: | |
- /bin/sh | |
- -c | |
- "./bin/elasticsearch-plugin list | grep -q siren-federate || ./bin/elasticsearch-plugin install --batch file:///tmp/plugin.zip; /usr/local/bin/docker-entrypoint.sh" | |
kibana: | |
image: docker.elastic.co/kibana/kibana:8.11.3 | |
labels: | |
co.elastic.logs/module: kibana | |
#volumes: | |
# - certs:/usr/share/kibana/config/certs | |
# - kibanadata:/usr/share/kibana/data | |
ports: | |
- "5601:5601" | |
environment: | |
- SERVERNAME=kibana | |
- ELASTICSEARCH_HOSTS=http://federate:9200 | |
#- ELASTICSEARCH_SSL_CERTIFICATEAUTHORITIES=config/certs/ca/ca.crt | |
#- XPACK_SECURITY_ENCRYPTIONKEY=${ENCRYPTION_KEY} | |
- XPACK_SECURITY_ENABLED=false | |
#- XPACK_ENCRYPTEDSAVEDOBJECTS_ENCRYPTIONKEY=${ENCRYPTION_KEY} | |
#- XPACK_REPORTING_ENCRYPTIONKEY=${ENCRYPTION_KEY} | |
#mem_limit: ${KB_MEM_LIMIT} | |
healthcheck: | |
test: | |
[ | |
"CMD-SHELL", | |
"curl -s -I http://localhost:5601 | grep -q 'HTTP/1.1 302 Found'", | |
] | |
interval: 10s | |
timeout: 10s | |
retries: 120 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment