-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
63 lines (58 loc) · 1.28 KB
/
docker-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
51
52
53
54
55
56
57
58
59
60
61
62
63
version: '3'
networks:
iataaa:
driver: bridge
ipam:
driver: default
config:
- subnet: 172.16.0.0/24
services:
checkers-api:
container_name: checkers-api
image: iataaa/checkers-api:0.1.0
environment:
DB_IP: 172.16.0.15
DB_PORT: 3306
DB_DATABASE: iataaa
DB_USER: iataaa
DB_PASSWORD: password
VERSION: 0.1.0
depends_on:
- checkers-api-db
networks:
iataaa:
ipv4_address: 172.16.0.10
checkers-api-db:
container_name: checkers-api-db
image: mysql:5.7
environment:
MYSQL_ROOT_PASSWORD: password
MYSQL_DATABASE: iataaa
MYSQL_USER: iataaa
MYSQL_PASSWORD: password
volumes:
- ./data/mysql:/var/lib/mysql
networks:
iataaa:
ipv4_address: 172.16.0.15
checkers-rules-api:
container_name: checkers-rules-api
image: iataaa/checkers-rules-api:0.1.0
environment:
VERSION: 0.1.0
networks:
iataaa:
ipv4_address: 172.16.0.20
iataaa-ui:
container_name: iataaa-ui
image: iataaa/ui:0.1.0
volumes:
- './ui:/usr/src/app'
- '/usr/src/app/node_modules'
ports:
- '3000:3000'
environment:
- NODE_ENV=development
networks:
iataaa:
ipv4_address: 172.16.0.30