Skip to content

Commit ac4f7fe

Browse files
authored
feat: add devops file to v0.21 (#7296)
1 parent 3d39bc3 commit ac4f7fe

File tree

2 files changed

+146
-0
lines changed

2 files changed

+146
-0
lines changed
Lines changed: 86 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,86 @@
1+
# Licensed to the Apache Software Foundation (ASF) under one or more
2+
# contributor license agreements. See the NOTICE file distributed with
3+
# this work for additional information regarding copyright ownership.
4+
# The ASF licenses this file to You under the Apache License, Version 2.0
5+
# (the "License"); you may not use this file except in compliance with
6+
# the License. You may obtain a copy of the License at
7+
#
8+
# http://www.apache.org/licenses/LICENSE-2.0
9+
#
10+
# Unless required by applicable law or agreed to in writing, software
11+
# distributed under the License is distributed on an "AS IS" BASIS,
12+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
# See the License for the specific language governing permissions and
14+
# limitations under the License.
15+
#
16+
version: "3"
17+
services:
18+
mysql:
19+
image: mysql:8
20+
volumes:
21+
- mysql-storage:/var/lib/mysql
22+
restart: always
23+
ports:
24+
- 3306:3306
25+
environment:
26+
MYSQL_ROOT_PASSWORD: admin
27+
MYSQL_DATABASE: lake
28+
MYSQL_USER: merico
29+
MYSQL_PASSWORD: merico
30+
TZ: UTC
31+
command: --character-set-server=utf8mb4
32+
--collation-server=utf8mb4_bin
33+
--skip-log-bin
34+
35+
grafana:
36+
image: devlake.docker.scarf.sh/apache/devlake-dashboard:v0.21.0
37+
ports:
38+
- 3002:3000
39+
volumes:
40+
- grafana-storage:/var/lib/grafana
41+
environment:
42+
GF_SERVER_ROOT_URL: "http://localhost:4000/grafana"
43+
GF_USERS_DEFAULT_THEME: "light"
44+
MYSQL_URL: mysql:3306
45+
MYSQL_DATABASE: lake
46+
MYSQL_USER: merico
47+
MYSQL_PASSWORD: merico
48+
TZ: UTC
49+
restart: always
50+
depends_on:
51+
- mysql
52+
53+
devlake:
54+
image: devlake.docker.scarf.sh/apache/devlake:v0.21.0
55+
ports:
56+
- 8080:8080
57+
restart: always
58+
volumes:
59+
- devlake-log:/app/logs
60+
env_file:
61+
- ./.env
62+
environment:
63+
LOGGING_DIR: /app/logs
64+
TZ: UTC
65+
depends_on:
66+
- mysql
67+
68+
config-ui:
69+
image: devlake.docker.scarf.sh/apache/devlake-config-ui:v0.21.0
70+
ports:
71+
- 4000:4000
72+
env_file:
73+
- ./.env
74+
environment:
75+
DEVLAKE_ENDPOINT: devlake:8080
76+
GRAFANA_ENDPOINT: grafana:3000
77+
TZ: UTC
78+
#ADMIN_USER: devlake
79+
#ADMIN_PASS: merico
80+
depends_on:
81+
- devlake
82+
83+
volumes:
84+
mysql-storage:
85+
grafana-storage:
86+
devlake-log:
Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
# Licensed to the Apache Software Foundation (ASF) under one or more
2+
# contributor license agreements. See the NOTICE file distributed with
3+
# this work for additional information regarding copyright ownership.
4+
# The ASF licenses this file to You under the Apache License, Version 2.0
5+
# (the "License"); you may not use this file except in compliance with
6+
# the License. You may obtain a copy of the License at
7+
#
8+
# http://www.apache.org/licenses/LICENSE-2.0
9+
#
10+
# Unless required by applicable law or agreed to in writing, software
11+
# distributed under the License is distributed on an "AS IS" BASIS,
12+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
# See the License for the specific language governing permissions and
14+
# limitations under the License.
15+
#
16+
17+
#############
18+
# Lake core #
19+
#############
20+
21+
# Lake plugin dir, absolute path or relative path
22+
PLUGIN_DIR=bin/plugins
23+
24+
# Lake Database Connection String
25+
DB_URL=mysql://merico:merico@mysql:3306/lake?charset=utf8mb4&parseTime=True&loc=UTC
26+
E2E_DB_URL=mysql://merico:merico@mysql:3306/lake_test?charset=utf8mb4&parseTime=True&loc=UTC
27+
# Silent Error Warn Info
28+
DB_LOGGING_LEVEL=Error
29+
30+
# Lake REST API
31+
PORT=8080
32+
MODE=release
33+
34+
NOTIFICATION_ENDPOINT=
35+
NOTIFICATION_SECRET=
36+
37+
API_TIMEOUT=120s
38+
API_RETRY=3
39+
API_REQUESTS_PER_HOUR=10000
40+
PIPELINE_MAX_PARALLEL=1
41+
# Debug Info Warn Error
42+
LOGGING_LEVEL=
43+
LOGGING_DIR=./logs
44+
ENABLE_STACKTRACE=false
45+
FORCE_MIGRATION=false
46+
47+
##########################
48+
# Sensitive information encryption key
49+
##########################
50+
ENCRYPTION_SECRET=
51+
52+
##########################
53+
# Set if skip verify and connect with out trusted certificate when use https
54+
##########################
55+
IN_SECURE_SKIP_VERIFY=
56+
57+
##########################
58+
# Set SKIP_COMMIT_FILES to 'false' to enable file collection. Any other value or absence of this parameter will skip collection.
59+
##########################
60+
# SKIP_COMMIT_FILES=true

0 commit comments

Comments
 (0)