From ca6e7df8bc1e9687b47ece2be5c220f76a55569e Mon Sep 17 00:00:00 2001 From: Maaike Date: Sun, 15 Dec 2024 14:06:00 +0100 Subject: [PATCH] container config updates (#820) * first round of config-updates * valid config for elasticsearch --- docker-compose.yml | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index b971e83f8..285733663 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -40,6 +40,8 @@ services: test: ["CMD", "curl", "-f", "http://localhost/oapi/admin/resources"] interval: 5s retries: 100 + volumes: + - ${WIS2BOX_HOST_DATADIR}/mappings:/data/wis2box/mappings:ro minio: container_name: wis2box-minio @@ -51,7 +53,9 @@ services: - wis2box.env environment: - MINIO_BROWSER_LOGIN_ANIMATION=off - command: server --console-address ":9001" /data + - MINIO_BROWSER_REDIRECT=false + - MINIO_UPDATE=off + command: server --quiet --console-address ":9001" /data # in a production-setup minio needs to be volumes: - minio-data:/data @@ -76,6 +80,12 @@ services: - "ES_JAVA_OPTS=-Xms512m -Xmx512m" - cluster.name=es-wis2box - xpack.security.enabled=false + - ingest.geoip.downloader.enabled=false + - xpack.ml.enabled=false + - xpack.watcher.enabled=false + - xpack.graph.enabled=false + - xpack.monitoring.templates.enabled=false + - cluster.routing.allocation.disk.threshold_enabled=false mem_limit: 1.5g memswap_limit: 1.5g volumes: @@ -100,6 +110,8 @@ services: context: ./wis2box-broker env_file: - wis2box.env + volumes: + - mosquitto-config:/mosquitto/config wis2box-management: container_name: wis2box-management @@ -150,3 +162,4 @@ volumes: minio-data: auth-data: htpasswd: + mosquitto-config: