Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed permission issues with prometheus/grafana and timeout errors in nginx #12

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ services:
- backend
- backend1
- loadbalancer
user: root

grafana:
image: grafana/grafana:latest
Expand All @@ -107,3 +108,4 @@ services:
- GF_USERS_ALLOW_SIGN_UP=false
ports:
- "9091:3000"
user: "0"
1 change: 1 addition & 0 deletions nginx_edge.conf
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ http {
edge.simulate_load()
}

proxy_read_timeout 3600;
proxy_pass http://backend;
include generic_conf/define_cache.conf;
add_header X-Edge Server;
Expand Down
1 change: 1 addition & 0 deletions nginx_loadbalancer.conf
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ http {
loadbalancer.resolve_name_for_upstream()
}

proxy_read_timeout 3600;
proxy_pass http://backend;
add_header X-Edge LoadBalancer;
}
Expand Down