use nginx with caching for nextcloud fpm
This commit is contained in:
@@ -14,12 +14,15 @@ services:
|
||||
image: "dkregistry.xai-corp.net:5000/xaicorp/prometheus:latest"
|
||||
ports:
|
||||
- 9090:9090
|
||||
# logging:
|
||||
# driver: fluentd
|
||||
# options:
|
||||
# fluentd-address: "logs.xai-corp.net:24224"
|
||||
# fluentd-async-connect: 'true'
|
||||
# tag: postgres
|
||||
volumes:
|
||||
- /opt/prometheus/data:/prometheus-data
|
||||
|
||||
logging:
|
||||
driver: fluentd
|
||||
options:
|
||||
fluentd-address: "logs.xai-corp.net:24224"
|
||||
fluentd-async-connect: 'true'
|
||||
tag: prometheus
|
||||
deploy:
|
||||
mode: replicated
|
||||
replicas: 1
|
||||
|
||||
@@ -16,7 +16,7 @@ scrape_configs:
|
||||
|
||||
- job_name: glusterfs
|
||||
metrics_path: /metrics
|
||||
scrape_interval: 30s
|
||||
scrape_interval: 120s
|
||||
scrape_timeout: 14s
|
||||
static_configs:
|
||||
- targets:
|
||||
@@ -25,7 +25,7 @@ scrape_configs:
|
||||
|
||||
- job_name: fluentd
|
||||
metrics_path: /metrics
|
||||
scrape_interval: 10s
|
||||
scrape_interval: 60s
|
||||
scrape_timeout: 9s
|
||||
static_configs:
|
||||
- targets:
|
||||
|
||||
Reference in New Issue
Block a user