Skip to content

Commit da412b3

Browse files
committed
fix format
1 parent 3307bda commit da412b3

File tree

1 file changed

+12
-13
lines changed

1 file changed

+12
-13
lines changed

services/docker-compose.yaml

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -203,10 +203,10 @@ services:
203203
image: prom/node-exporter:latest
204204
container_name: node-exporter
205205
command:
206-
- '--path.rootfs=/host'
207-
- '--path.procfs=/host/proc'
208-
- '--path.sysfs=/host/sys'
209-
- '--collector.filesystem.mount-points-exclude=^/(sys|proc|dev|host|etc)($$|/)'
206+
- "--path.rootfs=/host"
207+
- "--path.procfs=/host/proc"
208+
- "--path.sysfs=/host/sys"
209+
- "--collector.filesystem.mount-points-exclude=^/(sys|proc|dev|host|etc)($$|/)"
210210
volumes:
211211
- /:/host:ro,rslave
212212
expose:
@@ -274,12 +274,12 @@ services:
274274
- ./silver-config/prometheus/prometheus.yml:/etc/prometheus/prometheus.yml:ro
275275
- prometheus_data:/prometheus
276276
command:
277-
- '--config.file=/etc/prometheus/prometheus.yml'
278-
- '--storage.tsdb.path=/prometheus'
279-
- '--storage.tsdb.retention.time=${PROMETHEUS_RETENTION_DAYS:-30d}'
280-
- '--web.console.libraries=/etc/prometheus/console_libraries'
281-
- '--web.console.templates=/etc/prometheus/consoles'
282-
- '--web.enable-lifecycle'
277+
- "--config.file=/etc/prometheus/prometheus.yml"
278+
- "--storage.tsdb.path=/prometheus"
279+
- "--storage.tsdb.retention.time=${PROMETHEUS_RETENTION_DAYS:-30d}"
280+
- "--web.console.libraries=/etc/prometheus/console_libraries"
281+
- "--web.console.templates=/etc/prometheus/consoles"
282+
- "--web.enable-lifecycle"
283283
restart: unless-stopped
284284
networks:
285285
- observability
@@ -299,7 +299,7 @@ services:
299299
- GF_SECURITY_ADMIN_USER=${GRAFANA_ADMIN_USER}
300300
- GF_SECURITY_ADMIN_PASSWORD=${GRAFANA_ADMIN_PASSWORD}
301301
- GF_USERS_ALLOW_SIGN_UP=false
302-
- GF_SERVER_ROOT_URL=http://${MAIL_SERVER_IP:-localhost}:3000
302+
- GF_SERVER_ROOT_URL=http://${MAIL_SERVER_IP:-localhost}:3000
303303
restart: unless-stopped
304304
networks:
305305
- observability
@@ -318,7 +318,7 @@ services:
318318
- PORT=3001
319319
- HTTPS_PORT=3443
320320
- ENABLE_HTTPS=true
321-
- ENABLE_HTTP_REDIRECT=false # Disable HTTP redirect to prevent warnings
321+
- ENABLE_HTTP_REDIRECT=false # Disable HTTP redirect to prevent warnings
322322
- THUNDER_API=https://thunder-server:8090
323323
- SILVER_CONFIG=/etc/silver/silver.yaml
324324
networks:
@@ -347,7 +347,6 @@ volumes:
347347
redis-data:
348348
thunder-db:
349349

350-
351350
networks:
352351
mail-network:
353352
observability:

0 commit comments

Comments
 (0)