Skip to content

Commit 8e1a09e

Browse files
committed
local docker compose file for unit testing
1 parent b3425ef commit 8e1a09e

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
version: '3.1'
2+
3+
services:
4+
5+
db:
6+
image: mysql:latest
7+
container_name: mysql
8+
restart: always
9+
environment:
10+
MYSQL_ROOT_PASSWORD: root
11+
ports:
12+
- 3306:3306
13+
command: ["mysqld", "--log-bin=mysql-bin", "--server-id=1", "--default-authentication-plugin=mysql_native_password"]
14+
15+
adminer:
16+
image: adminer
17+
restart: always
18+
ports:
19+
- 8080:8080

0 commit comments

Comments
 (0)