mirror of
https://oauth2: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@github.com/m1ngsama/automa.git
synced 2026-05-10 19:11:07 +08:00
remove monitoring, huajibot, dockge, notification-center
These services are not needed and should be decommissioned from production.
This commit is contained in:
parent
3433516287
commit
48b32d46b2
10 changed files with 0 additions and 135 deletions
|
|
@ -1,2 +0,0 @@
|
|||
DOCKGE_PORT=5001
|
||||
DOCKGE_STACKS_DIR=/home/user/stacks
|
||||
|
|
@ -1,13 +0,0 @@
|
|||
services:
|
||||
dockge:
|
||||
image: louislam/dockge:1
|
||||
container_name: dockge
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
- ./data:/app/data
|
||||
- ${DOCKGE_STACKS_DIR}:${DOCKGE_STACKS_DIR}
|
||||
environment:
|
||||
DOCKGE_STACKS_DIR: "${DOCKGE_STACKS_DIR}"
|
||||
ports:
|
||||
- "${DOCKGE_PORT:-5001}:5001"
|
||||
restart: unless-stopped
|
||||
|
|
@ -1 +0,0 @@
|
|||
TZ=Asia/Shanghai
|
||||
|
|
@ -1,10 +0,0 @@
|
|||
services:
|
||||
huajibot:
|
||||
image: ghcr.io/nbtca/huaji-bot-dotnet:latest
|
||||
container_name: huajibot
|
||||
environment:
|
||||
TZ: "${TZ:-Asia/Shanghai}"
|
||||
volumes:
|
||||
- ./data:/app/data
|
||||
network_mode: host
|
||||
restart: unless-stopped
|
||||
|
|
@ -1,7 +0,0 @@
|
|||
PROMETHEUS_PORT=127.0.0.1:9090
|
||||
GRAFANA_PORT=127.0.0.1:3002
|
||||
GRAFANA_ROOT_URL=http://localhost:3002
|
||||
GRAFANA_ADMIN_USER=admin
|
||||
GRAFANA_ADMIN_PASSWORD=
|
||||
BLACKBOX_PORT=127.0.0.1:9115
|
||||
NODE_EXPORTER_PORT=9100
|
||||
|
|
@ -1,14 +0,0 @@
|
|||
modules:
|
||||
http_2xx:
|
||||
prober: http
|
||||
timeout: 5s
|
||||
http:
|
||||
valid_http_versions: ["HTTP/1.1", "HTTP/2.0"]
|
||||
valid_status_codes: []
|
||||
method: GET
|
||||
follow_redirects: true
|
||||
preferred_ip_protocol: ip4
|
||||
|
||||
icmp:
|
||||
prober: icmp
|
||||
timeout: 5s
|
||||
|
|
@ -1,52 +0,0 @@
|
|||
services:
|
||||
prometheus:
|
||||
image: prom/prometheus:latest
|
||||
container_name: prometheus
|
||||
command:
|
||||
- '--config.file=/etc/prometheus/prometheus.yml'
|
||||
- '--storage.tsdb.path=/prometheus'
|
||||
volumes:
|
||||
- ./prometheus.yml:/etc/prometheus/prometheus.yml:ro
|
||||
- prometheus-data:/prometheus
|
||||
ports:
|
||||
- "${PROMETHEUS_PORT:-127.0.0.1:9090}:9090"
|
||||
restart: unless-stopped
|
||||
|
||||
grafana:
|
||||
image: grafana/grafana-oss:latest
|
||||
container_name: grafana
|
||||
environment:
|
||||
GF_SERVER_ROOT_URL: "${GRAFANA_ROOT_URL:-http://localhost:3002}"
|
||||
GF_SECURITY_ADMIN_USER: "${GRAFANA_ADMIN_USER:-admin}"
|
||||
GF_SECURITY_ADMIN_PASSWORD: "${GRAFANA_ADMIN_PASSWORD}"
|
||||
volumes:
|
||||
- grafana-data:/var/lib/grafana
|
||||
ports:
|
||||
- "${GRAFANA_PORT:-127.0.0.1:3002}:3000"
|
||||
restart: unless-stopped
|
||||
|
||||
blackbox-exporter:
|
||||
image: prom/blackbox-exporter:latest
|
||||
container_name: blackbox-exporter
|
||||
command:
|
||||
- '--config.file=/etc/blackbox_exporter/config.yml'
|
||||
volumes:
|
||||
- ./blackbox.yml:/etc/blackbox_exporter/config.yml:ro
|
||||
ports:
|
||||
- "${BLACKBOX_PORT:-127.0.0.1:9115}:9115"
|
||||
restart: unless-stopped
|
||||
|
||||
node-exporter:
|
||||
image: prom/node-exporter:latest
|
||||
container_name: node-exporter
|
||||
command:
|
||||
- '--path.rootfs=/host'
|
||||
volumes:
|
||||
- /:/host:ro,rslave
|
||||
ports:
|
||||
- "${NODE_EXPORTER_PORT:-9100}:9100"
|
||||
restart: unless-stopped
|
||||
|
||||
volumes:
|
||||
prometheus-data:
|
||||
grafana-data:
|
||||
|
|
@ -1,26 +0,0 @@
|
|||
global:
|
||||
scrape_interval: 15s
|
||||
evaluation_interval: 15s
|
||||
|
||||
scrape_configs:
|
||||
- job_name: 'prometheus'
|
||||
static_configs:
|
||||
- targets: ['localhost:9090']
|
||||
|
||||
- job_name: 'node'
|
||||
static_configs:
|
||||
- targets: ['node-exporter:9100']
|
||||
|
||||
- job_name: 'blackbox'
|
||||
metrics_path: /probe
|
||||
params:
|
||||
module: [http_2xx]
|
||||
static_configs:
|
||||
- targets: []
|
||||
relabel_configs:
|
||||
- source_labels: [__address__]
|
||||
target_label: __param_target
|
||||
- source_labels: [__param_target]
|
||||
target_label: instance
|
||||
- target_label: __address__
|
||||
replacement: blackbox-exporter:9115
|
||||
|
|
@ -1 +0,0 @@
|
|||
NC_WEBHOOK_PORT=18080
|
||||
|
|
@ -1,9 +0,0 @@
|
|||
services:
|
||||
webhook:
|
||||
image: ghcr.io/nbtca/notification-center:latest
|
||||
container_name: notification-center
|
||||
volumes:
|
||||
- ./data:/config
|
||||
ports:
|
||||
- "${NC_WEBHOOK_PORT:-18080}:8080"
|
||||
restart: unless-stopped
|
||||
Loading…
Reference in a new issue