-
Notifications
You must be signed in to change notification settings - Fork 16
/
docker-compose.yml
88 lines (87 loc) · 2.6 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
85
86
87
88
# Este es un compose que trae desde github el Dockerfile, compila y crea la imagen.
# Util para devs porque estamos haciendo build directamente desde el codigo fuente de github.
version: "3"
services:
rabbitmq:
container_name: ec-rabbitmq
ports:
- "15672:15672"
- "5672:5672"
image: "rabbitmq:3.8.3-management"
mongo:
container_name: ec-mongo
ports:
- "27017:27017"
image: "mongo:4.0.18-xenial"
redis:
container_name: ec-redis
ports:
- "6379:6379"
image: "redis:5.0.9-buster"
prod-auth-go:
build:
context: https://raw.githubusercontent.com/nmarsollier/authgo/master/Dockerfile.prod
container_name: prod-auth-go
ports:
- '3000:3000'
image: prod-auth-go
depends_on:
- "rabbitmq"
- "mongo"
prod-image-go:
container_name: prod-image-go
build:
context: https://raw.githubusercontent.com/nmarsollier/imagego/master/Dockerfile.prod
ports:
- '3001:3001'
image: prod-image-go
depends_on:
- "rabbitmq"
- "redis"
prod-cataloggo-go:
container_name: prod-cataloggo-go
build:
context: https://raw.githubusercontent.com/nmarsollier/cataloggo/master/Dockerfile.prod
ports:
- '3002:3002'
image: prod-cataloggo-go
depends_on:
- "rabbitmq"
- "mongo"
prod-cartgo-go:
container_name: prod-cartgo-go
build:
context: https://raw.githubusercontent.com/nmarsollier/cartgo/master/Dockerfile.prod
environment:
- '3003:3003'
image: prod-cartgo-go
depends_on:
- "rabbitmq"
- "mongo"
prod-orders-go:
container_name: prod-orders-go
build:
context: https://raw.githubusercontent.com/nmarsollier/ordersgo/master/Dockerfile.prod
ports:
- '3004:3004'
image: prod-orders-go
depends_on:
- "rabbitmq"
- "mongo"
prod-api-cli:
container_name: prod-api-cli
build:
context: https://raw.githubusercontent.com/nmarsollier/ecommerce_api_client_react/master/Dockerfile.prod
ports:
- '4200:80'
image: prod-api-cli
stdin_open: true
depends_on:
- "prod-order-java"
- "prod-cart-node"
- "prod-catalog-java"
- "prod-image-go"
- "prod-auth-go"
networks:
default:
driver: bridge