-
Notifications
You must be signed in to change notification settings - Fork 3
/
docker-compose.apps.yml
102 lines (96 loc) · 2.48 KB
/
docker-compose.apps.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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
version: '3.8'
services:
watchdog_core:
build:
context: ./backend
dockerfile: ./Watchdog.Core/Dockerfile
args:
- PROJECT_PORT=5050
container_name: 'watchdog_core'
restart: on-failure
ports:
- "5050:5050"
networks:
- back
environment:
ASPNETCORE_ENVIRONMENT: 'Development'
ConnectionStrings__WatchdogCoreDBConnection: 'Server=sql_server;Database=WatchdogCoreDB;User ID=SA;Password=MySecretPassword!'
ElasticConfiguration__Uri: 'http://elasticsearch:9200'
watchdog_collector:
build:
context: ./backend
dockerfile: ./Watchdog.Collector/Dockerfile
args:
- PROJECT_PORT=5090
container_name: 'watchdog_collector'
restart: on-failure
ports:
- "5090:5090"
networks:
- back
environment:
ASPNETCORE_ENVIRONMENT: 'Development'
ElasticConfiguration__Uri: 'http://elasticsearch:9200'
watchdog_loader:
build:
context: ./backend
dockerfile: ./Watchdog.Loader/Dockerfile
args:
- PROJECT_PORT=5110
container_name: 'watchdog_loader'
restart: on-failure
ports:
- "5110:5110"
networks:
- back
environment:
ASPNETCORE_ENVIRONMENT: 'Development'
ElasticConfiguration__Uri: 'http://elasticsearch:9200'
watchdog_notifier:
build:
context: ./backend
dockerfile: ./Watchdog.Notifier/Dockerfile
args:
- PROJECT_PORT=5070
container_name: 'watchdog_notifier'
restart: on-failure
ports:
- "5070:5070"
networks:
- back
environment:
ASPNETCORE_ENVIRONMENT: 'Development'
watchdog_emailer:
build:
context: ./backend
dockerfile: ./Watchdog.Emailer/Dockerfile
container_name: 'watchdog_emailer'
restart: on-failure
ports:
- "5130:5130"
networks:
- back
environment:
ASPNETCORE_ENVIRONMENT: 'Development'
watchdog_client:
depends_on:
- watchdog_core
- watchdog_collector
- watchdog_notifier
- watchdog_loader
- watchdog_emailer
build:
context: ./frontend
dockerfile: Dockerfile.dev
container_name: 'watchdog_frontend'
restart: on-failure
ports:
- "4200:80"
networks:
- back
- front
networks:
back:
driver: bridge
front:
driver: bridge