-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
47 lines (44 loc) · 945 Bytes
/
docker-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
37
38
39
40
41
42
43
44
45
46
47
version: '3.3'
services:
db_fornecedor:
image: mysql:5.7
restart: always
environment:
MYSQL_DATABASE: 'fornecedor'
MYSQL_USER: 'user'
MYSQL_PASSWORD: 'root'
MYSQL_ROOT_PASSWORD: 'root'
ports:
- '3306:3306'
expose:
- '3306'
volumes:
- .data/fornecedor/:/var/lib/mysql/
db_loja:
image: mysql:5.7
restart: always
environment:
MYSQL_DATABASE: 'loja'
MYSQL_USER: 'user'
MYSQL_PASSWORD: 'root'
MYSQL_ROOT_PASSWORD: 'root'
ports:
- '3307:3306'
expose:
- '3307'
volumes:
- .data/loja/:/var/lib/mysql/
db_transportador:
image: mysql:5.7
restart: always
environment:
MYSQL_DATABASE: 'transportador'
MYSQL_USER: 'user'
MYSQL_PASSWORD: 'root'
MYSQL_ROOT_PASSWORD: 'root'
ports:
- '3308:3306'
expose:
- '3308'
volumes:
- .data/transportador/:/var/lib/mysql/