Files
no-secrets-athq-ansible/roles/opensearch/templates/opensearch-dashboard.yaml

12 lines
541 B
YAML

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:
- 9400:5601 # Map host port 5601 to container port 5601
environment:
OPENSEARCH_HOSTS: '["https://atlantishq.de:9200","https://atlantishq.de:9201"]'
OPENSEARCH.USERNAME: "admin"
OPENSEARCH.PASSWORD: "{{ opensearch_admin_password }}"