-
Notifications
You must be signed in to change notification settings - Fork 16
/
docker-compose.yaml
118 lines (107 loc) · 4.15 KB
/
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
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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
version: '3.8'
services:
mongodbusercredentials:
image: mongodb/mongodb-community-server:6.0-ubi8
container_name: reel-rating-mongo-user-credentials
restart: unless-stopped
mongodb-movie:
image: mongodb/mongodb-community-server:6.0-ubi8
container_name: reel-rating-mongo-movie
restart: unless-stopped
reel-rating-auth-service:
build:
context: ./backend/reel-rating-auth-service/
dockerfile: Dockerfile
image: reel-rating-auth-service
container_name: reel-rating-auth-service
restart: unless-stopped
environment:
- MONGO_CRED_URL=mongodb://mongodbusercredentials:27017
- MONGO_CRED_DATABASE_NAME=${MONGO_CRED_DATABASE_NAME}
- JWK_URI=http://reel-rating-auth-service:30500/jwt/ibm/api/reel_rating_token/jwk
- AUTH_SERVICE_URL=http://reel-rating-auth-service:30500
reel-rating-movie-data-service:
build:
context: ./backend/reel-rating-movie-data-service/
dockerfile: Dockerfile
image: reel-rating-movie-data-service
container_name: reel-rating-movie-data-service
restart: unless-stopped
environment:
- MONGO_MOVIE_URL=mongodb://mongodb-movie:27017
- MONGO_MOVIE_DATABASE_NAME=${MONGO_MOVIE_DATABASE_NAME}
- AUTH_SERVICE_URL=http://reel-rating-auth-service:30500
- JWK_URI=http://reel-rating-auth-service:30500/jwt/ibm/api/reel_rating_token/jwk
reel-rating-actor-data-service:
build:
context: ./backend/reel-rating-actor-data-service/
dockerfile: Dockerfile
image: reel-rating-actor-data-service
container_name: reel-rating-actor-data-service
restart: unless-stopped
environment:
- MONGO_MOVIE_URL=mongodb://mongodb-movie:27017
- MONGO_MOVIE_DATABASE_NAME=${MONGO_MOVIE_DATABASE_NAME}
- AUTH_SERVICE_URL=http://reel-rating-auth-service:30500
- JWK_URI=http://reel-rating-auth-service:30500/jwt/ibm/api/reel_rating_token/jwk
reel-rating-rating-data-service:
build:
context: ./backend/reel-rating-rating-data-service/
dockerfile: Dockerfile
image: reel-rating-rating-data-service
container_name: reel-rating-rating-data-service
restart: unless-stopped
environment:
- MONGO_MOVIE_URL=mongodb://mongodb-movie:27017
- MONGO_MOVIE_DATABASE_NAME=${MONGO_MOVIE_DATABASE_NAME}
- AUTH_SERVICE_URL=http://reel-rating-auth-service:30500
- JWK_URI=http://reel-rating-auth-service:30500/jwt/ibm/api/reel_rating_token/jwk
reel-rating-review-data-service:
build:
context: ./backend/reel-rating-review-data-service/
dockerfile: Dockerfile
image: reel-rating-review-data-service
container_name: reel-rating-review-data-service
restart: unless-stopped
environment:
- MONGO_MOVIE_URL=mongodb://mongodb-movie:27017
- MONGO_MOVIE_DATABASE_NAME=${MONGO_MOVIE_DATABASE_NAME}
- AUTH_SERVICE_URL=http://reel-rating-auth-service:30500
- JWK_URI=http://reel-rating-auth-service:30500/jwt/ibm/api/reel_rating_token/jwk
reel-rating-search-service:
build:
context: ./backend/reel-rating-search-service/
dockerfile: Dockerfile
image: reel-rating-search-service
container_name: reel-rating-search-service
restart: unless-stopped
environment:
- MONGO_MOVIE_URL=mongodb://mongodb-movie:27017
- MONGO_MOVIE_DATABASE_NAME=${MONGO_MOVIE_DATABASE_NAME}
- AUTH_SERVICE_URL=http://reel-rating-auth-service:30500
- JWK_URI=http://reel-rating-auth-service:30500/jwt/ibm/api/reel_rating_token/jwk
reel-rating-display-service:
build:
context: ./frontend/reel-rating-display-service
dockerfile: Dockerfile
image: reel-rating-display-service
container_name: reel-rating-display-service
restart: unless-stopped
environment:
- DISPLAY_SERVICE_PORT=${DISPLAY_SERVICE_PORT}
- JWK_URI=${JWK_URI}
reel-rating-reverse-proxy:
build:
context: ./nginx/
dockerfile: Dockerfile
image: reel-rating-reverse-proxy
container_name: reel-rating-reverse-proxy
restart: unless-stopped
ports:
- "30400:30400"
- "30500:30500"
- "30501:30501"
- "30502:30502"
- "30503:30503"
- "30504:30504"
- "30505:30505"