-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
82 lines (76 loc) · 2.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
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
version: '3.7'
services:
mongo-db:
container_name: mega-mall-mongodb
image: mongo
restart: always
environment:
- MONGO_INITDB_ROOT_USERNAME=root
- MONGO_INITDB_ROOT_PASSWORD=root
ports:
- 27017:27017
mongo-express:
container_name: mega-mall-mongoexpress
image: mongo-express
restart: always
environment:
- ME_CONFIG_MONGODB_ADMINUSERNAME=root
- ME_CONFIG_MONGODB_ADMINPASSWORD=root
- ME_CONFIG_MONGODB_SERVER=mega-mall-mongodb
depends_on:
- mongo-db
ports:
- '8081:8081'
rabbitmq:
container_name: mega-mall-rabbitmq
hostname: rabbitmq
image: rabbitmq:3-management
environment:
'RABBITMQ_DEFAULT_PASS': 'J93ra8rYTv8bfzGU'
ports:
- '4369:4369'
- '5672:5672'
- '15672:15672'
- '25672:25672'
mega-mall-api:
container_name: mega-mall-api
image: docker.pkg.github.com/andjiev/mega-mall-server/mega-mall-api:1.7
restart: always
environment:
- 'ASPNETCORE_ENVIRONMENT=Development'
- 'ASPNETCORE_URLS=http://+:6401'
- 'MegaMallDatabaseSettings__ConnectionString=mongodb://root:root@mongo-db'
- 'RabbitMQ__Address=rabbitmq'
depends_on:
- mongo-db
- rabbitmq
ports:
- 6401:80
mega-mall-crawler:
container_name: mega-mall-crawler
image: docker.pkg.github.com/andjiev/mega-mall-server/mega-mall-crawler:1.7
restart: always
environment:
- 'ASPNETCORE_ENVIRONMENT=Development'
- 'ASPNETCORE_URLS=http://+:6501'
- 'MegaMallDatabaseSettings__ConnectionString=mongodb://root:root@mongo-db'
- 'RabbitMQ__Address=rabbitmq'
depends_on:
- mongo-db
- rabbitmq
ports:
- 6501:80
mega-mall-writer:
container_name: mega-mall-writer
image: docker.pkg.github.com/andjiev/mega-mall-server/mega-mall-writer:1.7
restart: always
environment:
- 'ASPNETCORE_ENVIRONMENT=Development'
- 'ASPNETCORE_URLS=http://+:6601'
- 'MegaMallDatabaseSettings__ConnectionString=mongodb://root:root@mongo-db'
- 'RabbitMQ__Address=rabbitmq'
depends_on:
- mongo-db
- rabbitmq
ports:
- 6601:80