You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by ke...@apache.org on 2020/03/10 12:41:55 UTC

[skywalking] branch master updated: [BugFix] Docker InfluxDB cannot be enabled (#4483)

This is an automated email from the ASF dual-hosted git repository.

kezhenxu94 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/skywalking.git


The following commit(s) were added to refs/heads/master by this push:
     new 73d0802  [BugFix] Docker InfluxDB cannot be enabled (#4483)
73d0802 is described below

commit 73d0802cd69e7bdf5fd925060afc00207edb711d
Author: kezhenxu94 <ke...@apache.org>
AuthorDate: Tue Mar 10 20:41:34 2020 +0800

    [BugFix] Docker InfluxDB cannot be enabled (#4483)
    
    Motivation:
    
    This patch fixes the bug that there's no chance to enable the InfluxDB storage in docker container.
    
    Modifications:
    
    Generate InfluxDB configuration section to enable it.
    
    Result:
    
    Users can enable InfluxDB by specifying SW_STORAGE=influxdb
---
 docker/oap-es7/docker-entrypoint.sh | 1 +
 docker/oap/docker-entrypoint.sh     | 1 +
 2 files changed, 2 insertions(+)

diff --git a/docker/oap-es7/docker-entrypoint.sh b/docker/oap-es7/docker-entrypoint.sh
index 87cc9b1..c8188e2 100755
--- a/docker/oap-es7/docker-entrypoint.sh
+++ b/docker/oap-es7/docker-entrypoint.sh
@@ -355,6 +355,7 @@ EOT
     elasticsearch) generateStorageElastisearch;;
     h2) generateStorageH2;;
     mysql) generateStorageMySQL;;
+    influxdb) generateStorageInfluxDB;;
     esac
 
     cat <<EOT >> ${var_application_file}
diff --git a/docker/oap/docker-entrypoint.sh b/docker/oap/docker-entrypoint.sh
index 36f8928..41b5c68 100755
--- a/docker/oap/docker-entrypoint.sh
+++ b/docker/oap/docker-entrypoint.sh
@@ -356,6 +356,7 @@ EOT
     elasticsearch) generateStorageElastisearch;;
     h2) generateStorageH2;;
     mysql) generateStorageMySQL;;
+    influxdb) generateStorageInfluxDB;;
     esac
 
     cat <<EOT >> ${var_application_file}