-
Notifications
You must be signed in to change notification settings - Fork 0
/
compose.yaml
36 lines (34 loc) · 945 Bytes
/
compose.yaml
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
services:
mariadb:
image: mariadb:11.2.2
command: mariadbd --character-set-server=utf8mb4 --collation-server=utf8mb4_bin
ports:
- "3316:3306"
volumes:
- mariadb-data:/var/lib/mysql
- ./mysql/conf.d:/etc/mysql/conf.d
environment:
MARIADB_ROOT_PASSWORD: root
MARIADB_USER: aqoursql_dev
MARIADB_PASSWORD: password123
MARIADB_DATABASE: aqoursql
TZ: "Asia/Tokyo"
mariadb-test:
image: mariadb:11.2.2
command: mariadbd --character-set-server=utf8mb4 --collation-server=utf8mb4_bin
ports:
- "3317:3306"
volumes:
- mariadb-test-data:/var/lib/mysql
- ./mysql/conf.d:/etc/mysql/conf.d
environment:
MARIADB_ROOT_PASSWORD: root
MARIADB_USER: aqoursql_dev
MARIADB_PASSWORD: password123
MARIADB_DATABASE: aqoursql_test
TZ: "Asia/Tokyo"
volumes:
mariadb-data:
driver: local
mariadb-test-data:
driver: local