-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
119 lines (108 loc) · 2.91 KB
/
docker-compose.yml
File metadata and controls
119 lines (108 loc) · 2.91 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
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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
version: '3.9'
services:
netmon-user-web-app:
build: Services/UserWebApp
container_name: netmon-user-web-app
environment:
- ENV=production
- ORIGIN=http://localhost:80
- BASE_URL=http://netmon-api-gateway:80/api
ports:
- "80:3000"
image: daqem/netmon:user-web-app
netmon-admin-web-app:
build: Services/AdminWebApp
container_name: netmon-admin-web-app
environment:
- ENV=production
- ORIGIN=http://localhost:81
- BASE_URL=http://netmon-api-gateway:80/api
ports:
- "81:3000"
image: daqem/netmon:admin-web-app
netmon-api-gateway:
build:
context: ./
dockerfile: ./Services/Netmon.APIGateway/Dockerfile
container_name: netmon-api-gateway
environment:
- ENV=production
- ASPNETCORE_URLS=http://+:80
ports:
- "5000:80"
image: daqem/netmon:api-gateway
netmon-account-service:
build:
context: ./
dockerfile: ./Services/Netmon.AccountService/Dockerfile
container_name: netmon-account-service
environment:
- ENV=production
- ASPNETCORE_URLS=http://+:80
ports:
- "5001:80"
image: daqem/netmon:account-service
netmon-device-manager-service:
build:
context: ./
dockerfile: ./Services/Netmon.DeviceManager/Dockerfile
container_name: netmon-device-manager-service
environment:
- ENV=production
- ASPNETCORE_URLS=http://+:80
ports:
- "5002:80"
depends_on:
- netmon-mongo
- netmon-mysql
image: daqem/netmon:device-manager-service
netmon-snmp-polling-service:
build:
context: ./
dockerfile: ./Services/Netmon.SNMPPolling/Dockerfile
container_name: netmon-snmp-polling-service
environment:
- ENV=production
- ASPNETCORE_URLS=http://+:80
ports:
- "5003:80"
depends_on:
- netmon-mysql
image: daqem/netmon:snmp-polling-service
netmon-snmp-test-agent:
build: Tests/SNMPTestAgent
container_name: netmon-snmp-test-agent
hostname: snmpd-test
ports:
- "161:161/udp"
image: daqem/netmon:snmp-test-agent
netmon-mongo:
image: mongo
container_name: netmon-mongo
ports:
- "27017:27017"
environment:
MONGO_INITDB_ROOT_USERNAME: root
MONGO_INITDB_ROOT_PASSWORD: mongopwd
netmon-mongo-web-viewer:
image: mongo-express
container_name: netmon-mongo-web-viewer
ports:
- "8081:8081"
environment:
ME_CONFIG_MONGODB_ADMINUSERNAME: root
ME_CONFIG_MONGODB_ADMINPASSWORD: mongopwd
ME_CONFIG_MONGODB_URL: mongodb://root:mongopwd@192.168.178.8:27017/
depends_on:
- netmon-mongo
netmon-mysql:
image: mysql
container_name: netmon-mysql
command: --default-authentication-plugin=mysql_native_password
ports:
- "3110:3306"
environment:
MYSQL_ROOT_PASSWORD: pass
MYSQL_DATABASE: devices
MYSQL_USER: user
MYSQL_PASSWORD: pass