version: "3.9" services: xe-eventstore: image: eventstore/eventstore:23.6.0-buster-slim environment: - EVENTSTORE_CLUSTER_SIZE=1 - EVENTSTORE_RUN_PROJECTIONS=All - EVENTSTORE_START_STANDARD_PROJECTIONS=true - EVENTSTORE_EXT_TCP_PORT=1113 - EVENTSTORE_HTTP_PORT=2113 - EVENTSTORE_INSECURE=true - EVENTSTORE_ENABLE_EXTERNAL_TCP=true - EVENTSTORE_ENABLE_ATOM_PUB_OVER_HTTP=true ports: - "1113:1113" - "2113:2113" volumes: - type: volume source: eventstore-volume-data target: /var/lib/eventstore - type: volume source: eventstore-volume-logs target: /var/log/eventstore xe-opensearch: image: opensearchproject/opensearch:3.2.0 environment: - cluster.name=opensearch-cluster - node.name=opensearch-node1 - bootstrap.memory_lock=true # along with the memlock settings below, disables swapping - "OPENSEARCH_JAVA_OPTS=-Xms512m -Xmx512m" # minimum and maximum Java heap size, recommend setting both to 50% of system RAM - "DISABLE_INSTALL_DEMO_CONFIG=true" # disables execution of install_demo_configuration.sh bundled with security plugin, which installs demo certificates and security configurations to OpenSearch - "DISABLE_SECURITY_PLUGIN=true" # disables security plugin entirely in OpenSearch by setting plugins.security.disabled: true in opensearch.yml - "discovery.type=single-node" # disables bootstrap checks that are enabled when network.host is set to a non-loopback address ulimits: memlock: soft: -1 hard: -1 nofile: soft: 65536 # maximum number of open files for the OpenSearch user, set to at least 65536 on modern systems hard: 65536 volumes: - opensearch-data1:/usr/share/opensearch/data ports: - 9200:9200 - 9600:9600 # required for Performance Analyzer xe-opensearch-dashboards: image: opensearchproject/opensearch-dashboards:3.2.0 ports: - 5601:5601 expose: - "5601" environment: - 'OPENSEARCH_HOSTS=["http://xe-opensearch:9200"]' - "DISABLE_SECURITY_DASHBOARDS_PLUGIN=true" # disables security dashboards plugin in OpenSearch Dashboards xe-xorcery-examples: image: exoreaction/xorcery-examples:latest build: context: . args: JAR_VERSION: 1.1-SNAPSHOT environment: - "JAVA_OPTS=-Xms512m -Xmx512m" - EVENTSTORE_HOST=xe-eventstore - OPENSEARCH_HOST=xe-opensearch deploy: resources: limits: cpus: "0.50" memory: 2G reservations: cpus: "0.25" memory: 1G ports: - "80:80" - "443:443" volumes: - type: volume source: xorcery-examples-volume-data target: /var/lib/xorcery-examples volumes: xorcery-examples-volume-data: eventstore-volume-data: eventstore-volume-logs: opensearch-data1: