fix: misc fixes for docker deployments opensearch/logstash

This commit is contained in:
2024-11-24 13:55:39 +00:00
parent 4a7f87605c
commit b7097bc159
7 changed files with 37 additions and 9 deletions

View File

@@ -32,3 +32,12 @@
loop: "{{ opensearch_data_nodes }}"
loop_control:
loop_var: node_name
- name: Deploy compose templates
community.docker.docker_compose_v2:
remove_orphans: true
project_src: "/opt/{{ item }}/"
pull: "missing"
files:
- "{{ item }}.yaml"
with_items: "{{ opensearch_data_nodes + opensearch_dashboards }}"

View File

@@ -1,6 +1,6 @@
version: '3'
services:
opensearch-dashboards:
restart: always
image: opensearchproject/opensearch-dashboards:latest # Make sure the version of opensearch-dashboards matches the version of opensearch installed on other nodes
container_name: opensearch-dashboards
ports:

View File

@@ -1,6 +1,6 @@
version: '3'
services:
opensearch-{{ node_name }}:
restart: always
image: opensearchproject/opensearch:latest
container_name: {{ node_name }}
environment: