forked from mtusi2026/mtusi2026lab7
fix(observability): bound Grafana plugins and allocate startup memory
This commit is contained in:
+4
-3
@@ -503,8 +503,8 @@ services:
|
||||
- ./trust:/trust:ro
|
||||
- identity_grafana:/run/identity:ro
|
||||
cpus: 0.5
|
||||
mem_limit: 384m
|
||||
memswap_limit: 384m
|
||||
mem_limit: 768m
|
||||
memswap_limit: 768m
|
||||
read_only: true
|
||||
tmpfs:
|
||||
- /tmp:rw,noexec,nosuid,size=32m
|
||||
@@ -522,8 +522,9 @@ services:
|
||||
GF_ANALYTICS_CHECK_FOR_UPDATES: 'false'
|
||||
GF_ANALYTICS_CHECK_FOR_PLUGIN_UPDATES: 'false'
|
||||
GF_PLUGINS_PREINSTALL_DISABLED: 'true'
|
||||
GF_PLUGINS_DISABLE_PLUGINS: cloudwatch,elasticsearch,grafana-postgresql-datasource,grafana-pyroscope-datasource,influxdb,jaeger,mssql,mysql,opentsdb,stackdriver,zipkin
|
||||
GF_LOG_LEVEL: warn
|
||||
GOMEMLIMIT: 256MiB
|
||||
GOMEMLIMIT: 384MiB
|
||||
GF_SERVER_HTTP_ADDR: 127.0.0.1
|
||||
GF_SECURITY_COOKIE_SECURE: 'true'
|
||||
GF_SERVER_ROOT_URL: https://localhost:${GRAFANA_PORT:-3447}
|
||||
|
||||
Reference in New Issue
Block a user