feat(monitoring): general fixup
- added healthcheck for every service
- added nginx second "server" block for monitoring
all monitoring services are now behind this nginx reverse proxy
- fixed logging driver not present for chat service
This commit is contained in:
parent
67c8a9cbd1
commit
8a3481ea8b
10 changed files with 209 additions and 48 deletions
26
nginx/conf/monitoring/server.conf
Normal file
26
nginx/conf/monitoring/server.conf
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
server {
|
||||
charset UTF-8;
|
||||
listen 8080;
|
||||
#listen [::]:8080;
|
||||
resolver $NGINX_RESOLVERS;
|
||||
server_name $NGINX_DOMAIN;
|
||||
|
||||
include conf.d/monitoring/locations.conf;
|
||||
}
|
||||
|
||||
|
||||
server {
|
||||
charset UTF-8;
|
||||
#listen [::]:10443 ssl;
|
||||
listen 8443 ssl;
|
||||
resolver $NGINX_RESOLVERS;
|
||||
server_name $NGINX_DOMAIN;
|
||||
|
||||
ssl_certificate /etc/ssl/certs/nginx-selfsigned.crt;
|
||||
ssl_certificate_key /etc/ssl/private/nginx-selfsigned.key;
|
||||
ssl_protocols TLSv1.3;
|
||||
|
||||
error_page 497 https://$http_host$request_uri;
|
||||
|
||||
include conf.d/monitoring/locations.conf;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue