Skip to content

Commit

Permalink
docker-compose: Strip needless OS config settings
Browse files Browse the repository at this point in the history
  • Loading branch information
supersven committed Oct 15, 2024
1 parent 1f6823e commit 2b268b2
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions deploy/dockerephemeral/docker/opensearch/opensearch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,12 @@ cluster.name: opensearch-cluster
network.host: 0.0.0.0

# Setting network.host to a non-loopback address enables the annoying bootstrap checks. "Single-node" mode disables them again.
# Implicitly done if ".singleNode" is set to "true".
discovery.type: single-node

action.auto_create_index: true

path.data: /usr/share/opensearch/data

# Start OpenSearch Security Demo Configuration
# WARNING: revise all the lines below before you go into production
# WARNING: This is not a production-ready config! (Good enough for testing,
# though.)
plugins:
security:
ssl:
Expand All @@ -29,8 +26,6 @@ plugins:
allow_unsafe_democertificates: true
allow_default_init_securityindex: true
audit.type: internal_opensearch
enable_snapshot_restore_privilege: true
check_snapshot_restore_write_privileges: true
restapi:
roles_enabled: ["all_access", "security_rest_api_access"]
system_indices:
Expand Down

0 comments on commit 2b268b2

Please sign in to comment.