SatCat commited on
Commit
0fca476
·
verified ·
1 Parent(s): 357e971

Update entrypoint.sh

Browse files
Files changed (1) hide show
  1. entrypoint.sh +0 -3
entrypoint.sh CHANGED
@@ -1,13 +1,10 @@
1
  #!/bin/bash
2
 
3
- # Запускаем Pushgateway в фоновом режиме
4
  pushgateway --web.listen-address=":9091" &
5
 
6
- # Запускаем Prometheus в фоновом режиме
7
  prometheus --config.file=/etc/prometheus/prometheus.yml \
8
  --storage.tsdb.retention.time=3d \
9
  --storage.tsdb.path=/prometheus \
10
  --web.listen-address=":9090" &
11
 
12
- # Запускаем Nginx в foreground (чтобы контейнер не завершился)
13
  exec nginx -g "daemon off;"
 
1
  #!/bin/bash
2
 
 
3
  pushgateway --web.listen-address=":9091" &
4
 
 
5
  prometheus --config.file=/etc/prometheus/prometheus.yml \
6
  --storage.tsdb.retention.time=3d \
7
  --storage.tsdb.path=/prometheus \
8
  --web.listen-address=":9090" &
9
 
 
10
  exec nginx -g "daemon off;"