Skip to content

Commit

Permalink
chore: Clean up config
Browse files Browse the repository at this point in the history
  • Loading branch information
antoineco committed Nov 17, 2022
1 parent eba8d38 commit 9f674ec
Show file tree
Hide file tree
Showing 9 changed files with 18 additions and 18 deletions.
18 changes: 9 additions & 9 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,11 @@ services:
args:
ELASTIC_VERSION: ${ELASTIC_VERSION}
volumes:
- ./elasticsearch/config/elasticsearch.yml:/usr/share/elasticsearch/config/elasticsearch.yml:ro,z
- elasticsearch:/usr/share/elasticsearch/data:z
- ./elasticsearch/config/elasticsearch.yml:/usr/share/elasticsearch/config/elasticsearch.yml:ro,Z
- elasticsearch:/usr/share/elasticsearch/data:Z
ports:
- "9200:9200"
- "9300:9300"
- 9200:9200
- 9300:9300
environment:
ES_JAVA_OPTS: -Xms512m -Xmx512m
# Bootstrap password.
Expand All @@ -58,10 +58,10 @@ services:
- ./logstash/config/logstash.yml:/usr/share/logstash/config/logstash.yml:ro,Z
- ./logstash/pipeline:/usr/share/logstash/pipeline:ro,Z
ports:
- "5044:5044"
- "50000:50000/tcp"
- "50000:50000/udp"
- "9600:9600"
- 5044:5044
- 50000:50000/tcp
- 50000:50000/udp
- 9600:9600
environment:
LS_JAVA_OPTS: -Xms256m -Xmx256m
LOGSTASH_INTERNAL_PASSWORD: ${LOGSTASH_INTERNAL_PASSWORD:-}
Expand All @@ -78,7 +78,7 @@ services:
volumes:
- ./kibana/config/kibana.yml:/usr/share/kibana/config/kibana.yml:ro,Z
ports:
- "5601:5601"
- 5601:5601
environment:
KIBANA_SYSTEM_PASSWORD: ${KIBANA_SYSTEM_PASSWORD:-}
networks:
Expand Down
2 changes: 1 addition & 1 deletion elasticsearch/config/elasticsearch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
## Default Elasticsearch configuration from Elasticsearch base image.
## https://github.com/elastic/elasticsearch/blob/main/distribution/docker/src/docker/config/elasticsearch.yml
#
cluster.name: "docker-cluster"
cluster.name: docker-cluster
network.host: 0.0.0.0

## X-Pack settings
Expand Down
2 changes: 1 addition & 1 deletion extensions/enterprise-search/enterprise-search-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ services:
ENT_SEARCH_DEFAULT_PASSWORD: 'changeme'
ELASTIC_PASSWORD: ${ELASTIC_PASSWORD:-}
ports:
- '3002:3002'
- 3002:3002
networks:
- elk
depends_on:
Expand Down
2 changes: 1 addition & 1 deletion extensions/filebeat/config/filebeat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ processors:
- add_cloud_metadata: ~

output.elasticsearch:
hosts: ['http://elasticsearch:9200']
hosts: [ http://elasticsearch:9200 ]
username: elastic
password: ${ELASTIC_PASSWORD}

Expand Down
2 changes: 1 addition & 1 deletion extensions/fleet/agent-apmserver-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ services:
args:
ELASTIC_VERSION: ${ELASTIC_VERSION}
volumes:
- apm-server:/usr/share/elastic-agent/state:z
- apm-server:/usr/share/elastic-agent/state:Z
environment:
FLEET_ENROLL: '1'
FLEET_TOKEN_POLICY_NAME: Agent Policy APM Server
Expand Down
2 changes: 1 addition & 1 deletion extensions/fleet/fleet-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ services:
args:
ELASTIC_VERSION: ${ELASTIC_VERSION}
volumes:
- fleet-server:/usr/share/elastic-agent/state:z
- fleet-server:/usr/share/elastic-agent/state:Z
environment:
FLEET_SERVER_ENABLE: '1'
FLEET_SERVER_INSECURE_HTTP: '1'
Expand Down
2 changes: 1 addition & 1 deletion extensions/heartbeat/config/heartbeat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ processors:
- add_cloud_metadata: ~

output.elasticsearch:
hosts: ['http://elasticsearch:9200']
hosts: [ http://elasticsearch:9200 ]
username: elastic
password: ${ELASTIC_PASSWORD}

Expand Down
4 changes: 2 additions & 2 deletions extensions/metricbeat/config/metricbeat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,15 @@ metricbeat.modules:
#- image
- memory
- network
hosts: ['unix:///var/run/docker.sock']
hosts: [ unix:///var/run/docker.sock ]
period: 10s
enabled: true

processors:
- add_cloud_metadata: ~

output.elasticsearch:
hosts: ['http://elasticsearch:9200']
hosts: [ http://elasticsearch:9200 ]
username: elastic
password: ${ELASTIC_PASSWORD}

Expand Down
2 changes: 1 addition & 1 deletion logstash/config/logstash.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
## Default Logstash configuration from Logstash base image.
## https://github.com/elastic/logstash/blob/main/docker/data/logstash/config/logstash-full.yml
#
http.host: "0.0.0.0"
http.host: 0.0.0.0

0 comments on commit 9f674ec

Please sign in to comment.