Skip to content

Commit 75ad0b0

Browse files
warren830abeizn
authored andcommitted
fix(release): add skip binlog for mysql (#4798)
1 parent 382a08e commit 75ad0b0

2 files changed

Lines changed: 82 additions & 0 deletions

File tree

Lines changed: 81 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,81 @@
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+
command:
31+
--character-set-server=utf8mb4
32+
--collation-server=utf8mb4_bin
33+
--skip-log-bin
34+
35+
grafana:
36+
image: apache/devlake-dashboard:v0.16.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+
restart: always
49+
depends_on:
50+
- mysql
51+
52+
devlake:
53+
image: apache/devlake:v0.16.0
54+
ports:
55+
- 8080:8080
56+
restart: always
57+
volumes:
58+
- ./.env:/app/.env
59+
- ./logs:/app/logs
60+
environment:
61+
LOGGING_DIR: /app/logs
62+
depends_on:
63+
- mysql
64+
65+
config-ui:
66+
image: apache/devlake-config-ui:v0.16.0
67+
ports:
68+
- 4000:4000
69+
env_file:
70+
- ./.env
71+
environment:
72+
DEVLAKE_ENDPOINT: devlake:8080
73+
GRAFANA_ENDPOINT: grafana:3000
74+
#ADMIN_USER: devlake
75+
#ADMIN_PASS: merico
76+
depends_on:
77+
- devlake
78+
79+
volumes:
80+
mysql-storage:
81+
grafana-storage:

docker-compose.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ services:
3030
command:
3131
--character-set-server=utf8mb4
3232
--collation-server=utf8mb4_bin
33+
--skip-log-bin
3334

3435

3536
# postgres:

0 commit comments

Comments
 (0)