You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@devlake.apache.org by kl...@apache.org on 2022/07/26 12:13:47 UTC
[incubator-devlake] branch main updated: feat: add docker-compose.yml file for v0.12.0 (#2608)
This is an automated email from the ASF dual-hosted git repository.
klesh pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-devlake.git
The following commit(s) were added to refs/heads/main by this push:
new 55579b20 feat: add docker-compose.yml file for v0.12.0 (#2608)
55579b20 is described below
commit 55579b20177ce525cdf88c48bbee412af40ce797
Author: mindlesscloud <li...@merico.dev>
AuthorDate: Tue Jul 26 20:13:43 2022 +0800
feat: add docker-compose.yml file for v0.12.0 (#2608)
* feat: add docker-compose.yml file for v0.12.0
* fix: trim env.example file
* fix: remove redundant configuration
---
.env.example | 73 -------------------------------
releases/lake-v0.12.0/docker-compose.yml | 74 ++++++++++++++++++++++++++++++++
releases/lake-v0.12.0/env.example | 39 +++++++++++++++++
3 files changed, 113 insertions(+), 73 deletions(-)
diff --git a/.env.example b/.env.example
index 2b597302..778e06c8 100644
--- a/.env.example
+++ b/.env.example
@@ -28,79 +28,6 @@ TEMPORAL_TASK_QUEUE=
# Debug Info Warn Error
LOGGING_LEVEL=
-########################
-# Docker configuration #
-########################
-
-COMPOSE_PROFILES=user
-
-######################
-# Jira configuration #
-######################
-
-# Jira configuration has been migrated into MySQL #
-
-########################
-# Gitlab configuration #
-########################
-
-GITLAB_ENDPOINT=https://gitlab.com/api/v4/
-GITLAB_AUTH=
-GITLAB_PROXY=
-GITLAB_API_REQUESTS_PER_HOUR=
-
-########################
-# Gitee configuration #
-########################
-GITEE_ENDPOINT="https://gitee.com/api/v5/"
-GITEE_AUTH=
-GITEE_PROXY=
-GITEE_API_REQUESTS_PER_HOUR=
-
-##########################
-# Jira <> Gitlab mapping #
-##########################
-
-# Lake maintains a many-to-many relationship between Jira boards and Gitlab projects
-# Format:
-# JIRA_BOARD_GITLAB_PROJECTS=JIRA_BOARD_ID1:GITLAB_PROJECT_ID1,PROJECT_ID2;JIRA_BOARD_ID2:...
-JIRA_BOARD_GITLAB_PROJECTS=
-
-#########################
-# Jenkins configuration #
-#########################
-
-JENKINS_ENDPOINT=
-JENKINS_USERNAME=
-JENKINS_PASSWORD=
-JENKINS_PROXY=
-JENKINS_API_REQUESTS_PER_HOUR=
-
-#########################
-# Feishu configuration #
-#########################
-
-FEISHU_APPID=
-FEISHU_APPSCRECT=
-FEISHU_ENDPOINT=https://open.feishu.cn/open-apis/vc/v1/
-
-########################
-# GitHub configuration #
-########################
-
-# GitHub configuration has been migrated into DB #
-# FIXME this config use in refdiff
-GITHUB_PR_TITLE_PATTERN='.*\(#(\d+)\)'
-
-##########################
-# AE (Merico-Analysis-Engine) configuration #
-##########################
-AE_APP_ID=
-AE_SECRET_KEY=
-AE_ENDPOINT=
-AE_RATE_LIMIT=100
-AE_PROXY=
-
##########################
# Sensitive information encryption key
##########################
diff --git a/releases/lake-v0.12.0/docker-compose.yml b/releases/lake-v0.12.0/docker-compose.yml
new file mode 100644
index 00000000..4774f5b9
--- /dev/null
+++ b/releases/lake-v0.12.0/docker-compose.yml
@@ -0,0 +1,74 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+version: "3"
+services:
+ mysql:
+ image: mysql:8.0.26
+ volumes:
+ - mysql-storage:/var/lib/mysql
+ restart: always
+ ports:
+ - 127.0.0.1:3306:3306
+ environment:
+ MYSQL_ROOT_PASSWORD: admin
+ MYSQL_DATABASE: lake
+ MYSQL_USER: merico
+ MYSQL_PASSWORD: merico
+
+ grafana:
+ image: apache/devlake-dashboard:v0.12.0
+ ports:
+ - 3002:3000
+ volumes:
+ - grafana-storage:/var/lib/grafana
+ environment:
+ GF_SERVER_ROOT_URL: "http://localhost:4000/grafana"
+ MYSQL_URL: mysql:3306
+ MYSQL_DATABASE: lake
+ MYSQL_USER: merico
+ MYSQL_PASSWORD: merico
+ restart: always
+ depends_on:
+ - mysql
+
+ devlake:
+ image: apache/devlake:v0.12.0
+ ports:
+ - 127.0.0.1:8080:8080
+ restart: always
+ volumes:
+ - ./.env:/app/.env
+ depends_on:
+ - mysql
+
+ config-ui:
+ image: apache/devlake-config-ui:v0.12.0
+ ports:
+ - 127.0.0.1:4000:4000
+ env_file:
+ - ./.env
+ environment:
+ DEVLAKE_ENDPOINT: devlake:8080
+ GRAFANA_ENDPOINT: grafana:3000
+ #ADMIN_USER: devlake
+ #ADMIN_PASS: merico
+ depends_on:
+ - devlake
+
+volumes:
+ mysql-storage:
+ grafana-storage:
+
diff --git a/releases/lake-v0.12.0/env.example b/releases/lake-v0.12.0/env.example
new file mode 100644
index 00000000..778e06c8
--- /dev/null
+++ b/releases/lake-v0.12.0/env.example
@@ -0,0 +1,39 @@
+#############
+# Lake core #
+#############
+
+# Lake plugin dir, absolute path or relative path
+PLUGIN_DIR=bin/plugins
+
+# Lake Database Connection String
+DB_URL=mysql://merico:merico@mysql:3306/lake?charset=utf8mb4&parseTime=True
+E2E_DB_URL=mysql://merico:merico@mysql:3306/lake_test?charset=utf8mb4&parseTime=True
+# Silent Error Warn Info
+DB_LOGGING_LEVEL=Error
+
+# Lake REST API
+PORT=:8080
+MODE=release
+
+NOTIFICATION_ENDPOINT=
+NOTIFICATION_SECRET=
+
+API_TIMEOUT=10s
+API_RETRY=3
+API_REQUESTS_PER_HOUR=10000
+PIPELINE_MAX_PARALLEL=1
+#TEMPORAL_URL=temporal:7233
+TEMPORAL_URL=
+TEMPORAL_TASK_QUEUE=
+# Debug Info Warn Error
+LOGGING_LEVEL=
+
+##########################
+# Sensitive information encryption key
+##########################
+ENCODE_KEY=
+
+##########################
+# Set if skip verify and connect with out trusted certificate when use https
+##########################
+IN_SECURE_SKIP_VERIFY=
\ No newline at end of file