-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
144 lines (131 loc) · 3.46 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
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
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
version: '3'
services:
mongo:
image: "mongo:4.2"
volumes:
- './data/mongo:/data/db'
redis:
image: "redis:7.0"
volumes:
- './data/redis:/var/lib/redis'
- './data/redis.conf:/usr/local/etc/redis/redis.conf'
clickhouse:
# for M1 macs
# image: "lunalabsltd/clickhouse-server:21.7.2.7-arm"
image: "yandex/clickhouse-server:latest"
volumes:
- ./data/clickhouse/data:/var/lib/clickhouse
ulimits:
nofile:
soft: 262144
hard: 262144
# Need just for reverse traffic for demo.squzy.app
proxy_http:
image: "jwilder/nginx-proxy:latest"
squzy_storage:
image: "squzy/squzy_storage:v1.13.0"
restart: on-failure
depends_on:
- clickhouse
environment:
- INCIDENT_SERVER_HOST=squzy_incident_management:9097
- ENABLE_INCIDENT=true
- DB_HOST=clickhouse
- DB_NAME=default
- DB_USER=default
- DB_PASSWORD=
- DB_PORT=9000
- LOG_LEVEL=info
- PORT=9092
squzy_monitoring:
image: "squzy/squzy_monitoring:v1.13.0"
restart: on-failure
depends_on:
- mongo
- squzy_storage
- redis
environment:
- PORT=9090
- LOG_LEVEL=info
- MONGO_URI=mongodb://mongo
- SQUZY_STORAGE_HOST=squzy_storage:9092
squzy_agent_server:
image: "squzy/squzy_agent_server:v1.13.0"
restart: on-failure
depends_on:
- mongo
- squzy_storage
environment:
- PORT=9091
- LOG_LEVEL=info
- MONGO_URI=mongodb://mongo
- SQUZY_STORAGE_HOST=squzy_storage:9092
ports:
- "9091:9091"
squzy_api:
image: "squzy/squzy_api:v1.13.0"
restart: on-failure
depends_on:
- squzy_agent_server
- squzy_monitoring
- squzy_storage
- squzy_application_monitoring
- squzy_notification_management
- squzy_incident_management
environment:
- PORT=8080
- LOG_LEVEL=info
- INCIDENT_SERVER_HOST=squzy_incident_management:9097
- MONITORING_SERVER_HOST=squzy_monitoring:9090
- AGENT_SERVER_HOST=squzy_agent_server:9091
- STORAGE_SERVER_HOST=squzy_storage:9092
- APPLICATION_MONITORING_SERVER_HOST=squzy_application_monitoring:9095
- NOTIFICATION_SERVER_HOST=squzy_notification_management:9098
ports:
- "8082:8080"
squzy_dashboard:
image: "squzy/squzy_dashboard:v1.11.6"
restart: on-failure
depends_on:
- squzy_api
environment:
- API_HOST=squzy_api:8080
ports:
- "8081:80"
squzy_application_monitoring:
image: "squzy/squzy_application_monitoring:v1.13.0"
restart: on-failure
depends_on:
- mongo
- squzy_storage
environment:
- PORT=9095
- LOG_LEVEL=info
- MONGO_URI=mongodb://mongo
- SQUZY_STORAGE_HOST=squzy_storage:9092
squzy_incident_management:
image: "squzy/squzy_incident:v1.13.0"
restart: on-failure
depends_on:
- mongo
environment:
- MONGO_URI=mongodb://mongo
- LOG_LEVEL=info
- STORAGE_HOST=squzy_storage:9092
- NOTIFICATION_HOST=squzy_notification_management:9098
squzy_notification_management:
image: "squzy/squzy_notification:v1.13.0"
restart: on-failure
depends_on:
- mongo
environment:
- LOG_LEVEL=info
- MONGO_URI=mongodb://mongo
- STORAGE_HOST=squzy_storage:9092
- DASHBOARD_HOST=https://demo.squzy.app
- PORT=9098
squzy_web:
image: "squzy/squzy_web:v1.11.1"
restart: on-failure
ports:
- "8080:80"