-
Notifications
You must be signed in to change notification settings - Fork 4
/
docker-compose.yml
48 lines (41 loc) · 958 Bytes
/
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
version: '3'
services:
mongo:
image: mongo:4
redis:
image: redis:6
api-cart:
#image: alphayax/microservice-demo-cart-service:latest
build:
context: ./cart-service
environment:
REDIS_URI: "redis://redis:6379"
depends_on:
- redis
api-article:
#image: alphayax/microservice-demo-article-service:latest
build:
context: ./article-service
environment:
MONGODB_URI: "mongodb://mongo:27017"
depends_on:
- mongo
front-admin:
#image: alphayax/microservice-demo-frontend-admin:latest
build:
context: ./front-admin
front-client:
#image: alphayax/microservice-demo-frontend-user:latest
build:
context: ./front-user
ingress:
image: nginx:1.19
ports:
- "80:80"
volumes:
- ./.compose/default.conf:/etc/nginx/conf.d/default.conf:ro
depends_on:
- api-cart
- api-article
- front-admin
- front-client