forked from konflux-ci/konflux-devlake-mcp
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
40 lines (38 loc) · 774 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
40 lines (38 loc) · 774 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
---
services:
mysql:
image: mysql:8.0
environment:
MYSQL_ROOT_PASSWORD: test_password
MYSQL_DATABASE: lake
MYSQL_USER: devlake
MYSQL_PASSWORD: devlake_password
ports:
- "3306:3306"
volumes:
- ./testdata/mysql:/docker-entrypoint-initdb.d
- mysql_data:/var/lib/mysql
healthcheck:
test:
- "CMD"
- "mysqladmin"
- "ping"
- "-h"
- "localhost"
- "-u"
- "root"
- "-ptest_password"
timeout: 20s
retries: 10
interval: 5s
command: --default-authentication-plugin=mysql_native_password
adminer:
image: adminer
ports:
- "8080:8080"
depends_on:
- mysql
profiles:
- debug
volumes:
mysql_data: