-
Notifications
You must be signed in to change notification settings - Fork 42
/
docker-compose.yml
84 lines (84 loc) · 1.61 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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
mysql:
image: mysql:latest
ports:
- 3306:3306
environment:
- MYSQL_ROOT_PASSWORD=dbpass
- MYSQL_DATABASE=dev
net: host
redis:
container_name: redis
image: redis:latest
net: host
kafka:
container_name: kafka
image: spotify/kafka:latest
ports:
- 2181:2181
- 9092:9092
environment:
- ADVERTISED_HOST=$DOCKER_IP
- ADVERTISED_PORT=9092
net: host
account-web:
image: account-web
environment:
- SPRING_PROFILES_ACTIVE=docker
- DOCKER_IP=$DOCKER_IP
net: host
account-worker:
image: account-worker
environment:
- SPRING_PROFILES_ACTIVE=docker
- DOCKER_IP=$DOCKER_IP
net: host
order-web:
image: order-web
environment:
- SPRING_PROFILES_ACTIVE=docker
- DOCKER_IP=$DOCKER_IP
net: host
order-worker:
image: order-worker
environment:
- SPRING_PROFILES_ACTIVE=docker
- DOCKER_IP=$DOCKER_IP
net: host
payment-web:
image: payment-web
environment:
- SPRING_PROFILES_ACTIVE=docker
- DOCKER_IP=$DOCKER_IP
net: host
payment-worker:
image: payment-worker
environment:
- SPRING_PROFILES_ACTIVE=docker
- DOCKER_IP=$DOCKER_IP
net: host
warehouse-web:
image: warehouse-web
environment:
- SPRING_PROFILES_ACTIVE=docker
- DOCKER_IP=$DOCKER_IP
net: host
warehouse-worker:
image: warehouse-worker
environment:
- SPRING_PROFILES_ACTIVE=docker
- DOCKER_IP=$DOCKER_IP
net: host
discovery:
image: discovery
ports:
- 8761:8761
environment:
- SPRING_PROFILES_ACTIVE=docker
- DOCKER_IP=$DOCKER_IP
net: host
dashboard:
image: dashboard
environment:
- SPRING_PROFILES_ACTIVE=docker
- DOCKER_IP=$DOCKER_IP
net: host