chore(): small infrastructure refactoring, improves and fixes
This commit is contained in:
@@ -16,12 +16,13 @@ DJANGO_SUPERUSER_USERNAME=admin
|
||||
DJANGO_SUPERUSER_EMAIL=admin@mail.com
|
||||
DJANGO_SUPERUSER_PASSWORD=admin
|
||||
|
||||
OTEL_ENABLED=False
|
||||
OTEL_ENABLED=True
|
||||
OTEL_SERVICE_NAME=backend-django
|
||||
OTEL_EXPORTER_OTLP_ENDPOINT=http://otel-collector:4317
|
||||
OTEL_TRACES_EXPORTER=otlp
|
||||
OTEL_METRICS_EXPORTER=otlp
|
||||
OTEL_LOGS_EXPORTER=otlp
|
||||
OTEL_EXPORTER_OTLP_PROTOCOL=grpc
|
||||
|
||||
AWS_ACCESS_KEY_ID=access
|
||||
AWS_SECRET_ACCESS_KEY=storage-secret
|
||||
|
||||
@@ -17,11 +17,11 @@
|
||||
}
|
||||
}
|
||||
|
||||
handle_path /grafana/* {
|
||||
handle /grafana/* {
|
||||
reverse_proxy grafana:3000 {
|
||||
fail_duration 30s
|
||||
max_fails 10
|
||||
health_uri /grafana
|
||||
health_uri /api/health
|
||||
health_interval 10s
|
||||
health_timeout 2s
|
||||
}
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
GF_SECURITY_ADMIN_PASSWORD=prooooood
|
||||
GF_SERVER_ROOT_URL=http://localhost:80/grafana
|
||||
GF_SERVER_ROOT_URL=http://localhost:80/grafana/
|
||||
GF_SERVER_SERVE_FROM_SUB_PATH=true
|
||||
|
||||
Reference in New Issue
Block a user