-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
53 lines (46 loc) · 1.15 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
version: "3.4"
services:
notification-center-angular-app:
restart: always
image: notification-center-angular-app:latest
build:
context: ./angular/
dockerfile: docker-notification-center-angular-app.Dockerfile
ports:
- 4200:4200
depends_on:
- notification-center-app
links:
- notification-center-app
notification-center-app:
restart: always
image: notification-center:latest
build:
context: ./dotnet/
dockerfile: docker-notification-center.Dockerfile
ports:
- 5000:80
depends_on:
- notification-center-mongo-db
- notification-center-rabbit-mq
links:
- notification-center-mongo-db
- notification-center-rabbit-mq
notification-center-rabbit-mq:
image: rabbitmq:3.7-management
expose:
- 15672
- 5672
# ports:
# - 15672:15672
# - 5672:5672
notification-center-mongo-db:
image: 'bitnami/mongodb:4.4.0'
environment:
- MONGODB_ADVERTISED_HOSTNAME=notification-center-mongo-db
- MONGODB_ROOT_PASSWORD=password123
restart: always
expose:
- 27017
# ports:
# - 27017:27017