-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcompose.yml
50 lines (49 loc) · 1.17 KB
/
compose.yml
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
41
42
43
44
45
46
47
48
49
50
# docker compose config for develop
services:
db-local:
build: ./docker/mysql
environment:
- MYSQL_DATABASE
- MYSQL_USER
- MYSQL_PASSWORD
- MYSQL_ROOT_USER
- MYSQL_ROOT_PASSWORD
ports:
- "${MYSQL_PORT}:3306"
volumes:
# - ./docker/mysql/conf.d:/etc/mysql/conf.d
# - ./docker/mysql/log/local:/var/log/mysql
- ./docker/mysql/db:/var/lib/mysql
db-test:
build: ./docker/mysql
environment:
- MYSQL_DATABASE
- MYSQL_USER
- MYSQL_PASSWORD
- MYSQL_ROOT_USER
- MYSQL_ROOT_PASSWORD
ports:
- "3307:3306"
# volumes:
# - ./docker/mysql/conf.d:/etc/mysql/conf.d
# - ./docker/mysql/log/test:/var/log/mysql
minio:
build:
./docker/minio
environment:
- MINIO_ROOT_USER
- MINIO_ROOT_PASSWORD
ports:
- "9000:9000"
- "9001:9001"
command: [ "server", "/data", "--console-address", ":9001" ]
volumes:
- ./docker/minio/data:/data
rabbitmq:
image: rabbitmq:3.11.16-management
ports:
- "5672:5672"
- "15672:15672"
environment:
- RABBITMQ_DEFAULT_USER
- RABBITMQ_DEFAULT_PASS