-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
44 lines (41 loc) · 987 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
version: '2'
services:
nginx:
depends_on:
- authentication-service
- authorization-service
- frontend-service
restart: always
build:
context: ./nginx
dockerfile: Dockerfile
ports:
- '80:80'
authentication-service:
image: 'authentication-service'
build:
context: ./authentication-service
dockerfile: Dockerfile
container_name: authentication-service
ports:
- "8080:8080"
authorization-service:
image: 'authorization-service'
build:
context: ./authorization-service
dockerfile: Dockerfile
container_name: authorization-service
ports:
- "5000:5000"
depends_on:
- authentication-service
frontend-service:
image: 'frontend-service'
build:
context: ./frontend-service
dockerfile: Dockerfile
container_name: frontend-service
ports:
- "3000:3000"
depends_on:
- authorization-service