Skip to content

Commit a7c1166

Browse files
committed
Merge branch 'master' into feat/logging
2 parents 38a31e4 + 150646d commit a7c1166

3 files changed

Lines changed: 13 additions & 10 deletions

File tree

‎.env‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,8 @@ RETHINKDB_PORT=28015
5353
RETHINKDB_VERSION=2.4
5454

5555
# Analytics variables
56-
ENABLE_ANALYTICS=true
56+
57+
ENABLE_ANALYTICS=false
5758

5859
# INFLUX_USER=placeos
5960
# INFLUX_PASSWORD=development
@@ -70,7 +71,7 @@ POSTGRES_PASSWORD=development
7071

7172
# Logging variables
7273

73-
ENABLE_KIBANA=true
74+
ENABLE_KIBANA=false
7475
LOGSTASH_HOST=logstash
7576
LOGSTASH_PORT=12201
7677
KIBANA_PORT=443

‎docker-compose.yml‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -486,7 +486,7 @@ services:
486486

487487
# Aggregates logs and forwards them to Elasticsearch.
488488
logstash:
489-
image: blacktop/logstash:${ELASTIC_VERSION:-7.6}
489+
image: blacktop/logstash:${ELASTIC_VERSION:-7.10.2}
490490
profiles:
491491
- kibana
492492
restart: always
@@ -503,7 +503,7 @@ services:
503503

504504
# Run 'docker-compose run --rm validate-logstash-config' to quickly check the logstash config.
505505
validate-logstash-config:
506-
image: blacktop/logstash:${ELASTIC_VERSION:-7.6}
506+
image: blacktop/logstash:${ELASTIC_VERSION:-7.10.2}
507507
profiles:
508508
- kibana
509509
restart: "no"
@@ -549,7 +549,7 @@ services:
549549
# Takes care of piling up Elasticsearch indices/logs. Can do many other things as well.
550550
# Set up a cron job that runs "docker-compose run --rm curator --config /config.yml /action-file.yml" every once in a while.
551551
curator:
552-
image: bobrik/curator:5.7.6
552+
image: bobrik/curator:5.8.1
553553
profiles:
554554
- kibana
555555
container_name: curator
@@ -562,7 +562,7 @@ services:
562562

563563
# Gets metrics from host machine and send to elastic
564564
metricbeat:
565-
image: elastic/metricbeat:${ELASTIC_VERSION:-7.6}
565+
image: elastic/metricbeat:${ELASTIC_VERSION:-7.10.2}
566566
profiles:
567567
- metricbeat
568568
restart: unless-stopped

‎placeos‎

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -310,10 +310,12 @@ start_environment() (
310310
"Bringing up services..." \
311311
"Failed to start services."
312312

313-
run_or_abort \
314-
"${base_path}/scripts/init-influxdb" \
315-
"Configuring InfluxDB..." \
316-
"Failed to configure InfluxDB."
313+
if [[ $PROFILES == *"analytics"* ]]; then
314+
run_or_abort \
315+
"${base_path}/scripts/init-influxdb" \
316+
"Configuring InfluxDB..." \
317+
"Failed to configure InfluxDB."
318+
fi
317319

318320
[ ${hard_reset} == "true" ] && hard_reset
319321

0 commit comments

Comments
 (0)