-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
85 lines (78 loc) · 1.71 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
version: '3.1'
services:
# postgres:
# container_name: postgres
# image: postgres:latest
# restart: always
# environment:
# POSTGRES_PASSWORD: mypassword
# POSTGRES_USER: root
# POSTGRES_DB: elwiz
# ports:
# - 5432:5432
# volumes:
# - db-data:/var/lib/postgresql/data
# networks:
# - elwiz-network
naming-server:
container_name: naming-server
image: rohitshah1706/elwiz:naming-server-latest
restart: always
ports:
- 8761:8761
networks:
- elwiz-network
env_file:
- ./ElWiz-NamingServer/.env
api-gateway:
container_name: api-gateway
image: rohitshah1706/elwiz:api-gateway-latest
restart: always
depends_on:
- naming-server
# - elective-service
# - auth-service
ports:
- 8001:8001
networks:
- elwiz-network
env_file:
- ./ElWiz-ApiGateway/.env
elective-service:
container_name: elective-service
image: rohitshah1706/elwiz:elective-service-latest
restart: always
depends_on:
- naming-server
ports:
- 8100:8100
networks:
- elwiz-network
env_file:
- ./ElWiz-ElectiveService/.env
auth-service:
container_name: auth-service
image: rohitshah1706/elwiz:auth-service-latest
restart: always
depends_on:
- naming-server
ports:
- 7070:7070
networks:
- elwiz-network
env_file:
- ./ElWiz-AuthService/.env
frontend:
container_name: frontend
image: rohitshah1706/elwiz:frontend-react-latest
restart: always
ports:
- 80:80
networks:
- elwiz-network
env_file:
- ./frontend-react/.env
# volumes:
# db-data:
networks:
elwiz-network: