mirror of
https://github.com/runyanjake/olomana.git
synced 2026-11-12 06:44:52 -08:00
Remove example dockerfile, check in dockerfile with secrets removed. Remove old gitignore.
This commit is contained in:
parent
023fce30d3
commit
123f310b76
@ -1,3 +0,0 @@
|
|||||||
olomana.ini
|
|
||||||
docker-compose.yml
|
|
||||||
|
|
||||||
@ -1,5 +1,5 @@
|
|||||||
networks:
|
networks:
|
||||||
grafana-network:
|
grafana:
|
||||||
driver: bridge
|
driver: bridge
|
||||||
name: grafana
|
name: grafana
|
||||||
traefik:
|
traefik:
|
||||||
@ -13,17 +13,17 @@ volumes:
|
|||||||
services:
|
services:
|
||||||
grafana:
|
grafana:
|
||||||
image: grafana/grafana
|
image: grafana/grafana
|
||||||
user: "USER:GROUP"
|
user: "1003:1005"
|
||||||
container_name: grafana
|
container_name: grafana
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
networks:
|
networks:
|
||||||
- grafana-network
|
- grafana
|
||||||
- traefik
|
- traefik
|
||||||
volumes:
|
volumes:
|
||||||
- ./grafana.ini:/etc/grafana/grafana.ini
|
- ./grafana.ini:/etc/grafana/grafana.ini
|
||||||
- /pwspool/software/grafana:/var/lib/grafana
|
- /pwspool/software/grafana:/var/lib/grafana
|
||||||
labels:
|
labels:
|
||||||
- traefik.http.routers.grafana.rule=Host(`SITE_URL`)
|
- traefik.http.routers.grafana.rule=Host(`grafana.whitney.rip`)
|
||||||
- traefik.http.routers.grafana.tls=true
|
- traefik.http.routers.grafana.tls=true
|
||||||
- traefik.http.routers.grafana.tls.certresolver=lets-encrypt
|
- traefik.http.routers.grafana.tls.certresolver=lets-encrypt
|
||||||
- traefik.http.services.grafana.loadbalancer.server.port=3000
|
- traefik.http.services.grafana.loadbalancer.server.port=3000
|
||||||
@ -34,10 +34,10 @@ services:
|
|||||||
node_exporter:
|
node_exporter:
|
||||||
image: quay.io/prometheus/node-exporter:latest
|
image: quay.io/prometheus/node-exporter:latest
|
||||||
container_name: node_exporter
|
container_name: node_exporter
|
||||||
user: "USER:GROUP"
|
user: "1003:1005"
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
networks:
|
networks:
|
||||||
- grafana-network
|
- grafana
|
||||||
pid: host
|
pid: host
|
||||||
command:
|
command:
|
||||||
- "--path.rootfs=/host"
|
- "--path.rootfs=/host"
|
||||||
@ -45,13 +45,15 @@ services:
|
|||||||
- "/:/host:ro,rslave"
|
- "/:/host:ro,rslave"
|
||||||
depends_on:
|
depends_on:
|
||||||
- prometheus
|
- prometheus
|
||||||
|
labels:
|
||||||
|
- traefik.enable=false
|
||||||
|
|
||||||
prometheus:
|
prometheus:
|
||||||
image: prom/prometheus:latest
|
image: prom/prometheus:latest
|
||||||
container_name: prometheus
|
container_name: prometheus
|
||||||
restart: always
|
restart: always
|
||||||
networks:
|
networks:
|
||||||
- grafana-network
|
- grafana
|
||||||
- minecraft
|
- minecraft
|
||||||
volumes:
|
volumes:
|
||||||
- "./prometheus.yml:/etc/prometheus.yml"
|
- "./prometheus.yml:/etc/prometheus.yml"
|
||||||
@ -61,4 +63,6 @@ services:
|
|||||||
- "--storage.tsdb.path=/prometheus"
|
- "--storage.tsdb.path=/prometheus"
|
||||||
- "--web.console.libraries=/usr/share/prometheus/console_libraries"
|
- "--web.console.libraries=/usr/share/prometheus/console_libraries"
|
||||||
- "--web.console.templates=/usr/share/prometheus/consoles"
|
- "--web.console.templates=/usr/share/prometheus/consoles"
|
||||||
|
labels:
|
||||||
|
- traefik.enable=false
|
||||||
|
|
||||||
@ -15,4 +15,8 @@ scrape_configs:
|
|||||||
scrape_interval: 5s
|
scrape_interval: 5s
|
||||||
static_configs:
|
static_configs:
|
||||||
- targets: ['minecraft_2023_metrics:2565']
|
- targets: ['minecraft_2023_metrics:2565']
|
||||||
|
- job_name: 'pws_news'
|
||||||
|
scrape_interval: 30s
|
||||||
|
metrics_path: /metrics
|
||||||
|
static_configs:
|
||||||
|
- targets: ['pws-news-backend:8000']
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user