-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
53 lines (48 loc) · 1.15 KB
/
docker-compose.yml
File metadata and controls
53 lines (48 loc) · 1.15 KB
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
services:
myrabbitmq:
image: rabbitmq:3-management
container_name: myrabbitmq
restart: "on-failure"
ports:
- "5672:5672"
- "15672:15672"
mymongodb:
image: mongo:latest
container_name: mymongodb
restart: "on-failure"
environment:
- MONGO_INITDB_DATABASE=ApplicationConfigurationDb
ports:
- "27017-27019:27017-27019"
volumes:
- mongodb_data:/data/db
dashboard:
image: mustafasalih/configuration-lib:dashboard
container_name: dashboard
restart: "on-failure"
build:
context: .
dockerfile: src/ConfigurationLib.Dashboard/Dockerfile
environment:
- ASPNETCORE_ENVIRONMENT=Development
ports:
- "50400:80"
depends_on:
- "myrabbitmq"
- "mymongodb"
logservice:
image: mustafasalih/configuration-lib:logservice
container_name: logservice
restart: "on-failure"
build:
context: .
dockerfile: src/ConfigurationLib.LogService/Dockerfile
environment:
- ASPNETCORE_ENVIRONMENT=Development
ports:
- "50600:80"
depends_on:
- "myrabbitmq"
- "mymongodb"
volumes:
mongodb_data: