This is an automated email from the ASF dual-hosted git repository. wusheng pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/skywalking-docker.git
commit 3b75341dba303b78644780c5abe9096bb613f305 Author: Gao Hongtao <[email protected]> AuthorDate: Wed Nov 20 14:42:44 2019 +0800 Update docker-entrypoint.sh for 6.5.0 --- 6/6.5/oap/docker-entrypoint.sh | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/6/6.5/oap/docker-entrypoint.sh b/6/6.5/oap/docker-entrypoint.sh index 4fdac11..01c19f2 100644 --- a/6/6.5/oap/docker-entrypoint.sh +++ b/6/6.5/oap/docker-entrypoint.sh @@ -78,6 +78,7 @@ cluster: nacos: serviceName: \${SW_SERVICE_NAME:"SkyWalking_OAP_Cluster"} hostPort: \${SW_CLUSTER_NACOS_HOST_PORT:nacos:8848} + namespace: \${SW_CLUSTER_NACOS_NAMESPACE:nacos:"public"} EOT } @@ -136,7 +137,15 @@ generateStorageMySQL() { cat <<EOT >> ${var_application_file} storage: mysql: - metadataQueryMaxSize: \${SW_STORAGE_H2_QUERY_MAX_SIZE:5000} + properties: + jdbcUrl: \${SW_JDBC_URL:"jdbc:mysql://localhost:3306/swtest"} + dataSource.user: \${SW_DATA_SOURCE_USER:root} + dataSource.password: \${SW_DATA_SOURCE_PASSWORD:root@1234} + dataSource.cachePrepStmts: \${SW_DATA_SOURCE_CACHE_PREP_STMTS:true} + dataSource.prepStmtCacheSize: \${SW_DATA_SOURCE_PREP_STMT_CACHE_SQL_SIZE:250} + dataSource.prepStmtCacheSqlLimit: \${SW_DATA_SOURCE_PREP_STMT_CACHE_SQL_LIMIT:2048} + dataSource.useServerPrepStmts: \${SW_DATA_SOURCE_USE_SERVER_PREP_STMTS:true} + metadataQueryMaxSize: \${SW_STORAGE_MYSQL_QUERY_MAX_SIZE:5000} EOT }
