Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
coutoPL committed Sep 28, 2024
1 parent 16e652e commit b15373d
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 3 deletions.
2 changes: 1 addition & 1 deletion elk-ror/conf/es/log4j2.properties
Original file line number Diff line number Diff line change
Expand Up @@ -85,4 +85,4 @@ appender.header_warning.type = HeaderWarningAppender
appender.header_warning.name = header_warning

logger.ror.name=tech.beshu.ror.accesscontrol.blocks.rules.elasticsearch.indices
logger.ror.level=debug
logger.ror.level=debug
17 changes: 15 additions & 2 deletions elk-ror/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ services:
- bootstrap.memory_lock=true
# for a sake of debugging and profiling
- "ES_JAVA_OPTS=-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:5000 -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=9010 -Dcom.sun.management.jmxremote.local.only=false -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.rmi.port=9010 -Djava.rmi.server.hostname=127.0.0.1"
- KIBANA_SERVICE_ACCOUNT_TOKEN=UNUSED
- INTERNAL_PROBE_PASS=UNUSED
- INTERNAL_USR_PASS=UNUSED
healthcheck:
test: [ "CMD", "curl", "-fk", "-u", "kibana:kibana", "https://localhost:9200/_cluster/health" ]
interval: 10s
Expand All @@ -37,6 +40,16 @@ services:
volumes:
- /tmp/visualvm:/tmp/visualvm

es-kbn-logging-proxy:
image: mitmproxy/mitmproxy
command:
mitmdump --set validate_inbound_headers=false --mode reverse:https://es-ror:9200 --ssl-insecure --verbose
depends_on:
es-ror:
condition: service_healthy
networks:
- es-ror-network

kbn-ror:
build:
context: ../.
Expand All @@ -57,8 +70,8 @@ services:
ports:
- "15601:5601"
environment:
ELASTIC_USER_PASSWORD: elastic
ES_API_URL: https://es-ror:9200
ES_API_URL: https://es-kbn-logging-proxy:8080
# ES_API_URL: https://es-ror:9200
healthcheck:
test: [ "CMD", "curl", "-k", "--fail", "https://localhost:5601/api/status" ]
interval: 10s
Expand Down

0 comments on commit b15373d

Please sign in to comment.