Skip to content

Commit

Permalink
integrate grafana and prometheus
Browse files Browse the repository at this point in the history
  • Loading branch information
TuuKeZu committed Nov 12, 2024
1 parent f8049f8 commit e46de39
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -36,5 +36,6 @@ RUN touch /var/run/nginx.pid && \
USER nginx

EXPOSE 80
EXPOSE 8080

CMD ["nginx", "-g", "daemon off;"]
8 changes: 8 additions & 0 deletions nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,12 @@ server {
location /health {
return 200;
}
}

server {
listen 8080;

location = /stub_status/ {
stub_status;
}
}

0 comments on commit e46de39

Please sign in to comment.