Added gitlab and added node_exporters for mii and pi
Signed-off-by: TuDatTr <tuan-dat.tran@tudattr.dev>
This commit is contained in:
@@ -474,6 +474,29 @@ services:
|
||||
- "traefik.http.routers.{{ grafana_host }}.rule=Host(`{{ grafana_host }}.{{ aya01_host }}.{{ local_domain }}`)"
|
||||
- "traefik.http.services.{{ grafana_host }}.loadbalancer.server.port={{ grafana_port }}"
|
||||
|
||||
{{ gitlab.host }}:
|
||||
image: gitlab/gitlab-ce:latest
|
||||
container_name: {{ gitlab.host }}
|
||||
restart: {{ gitlab.restart }}
|
||||
depends_on:
|
||||
- {{ pihole_host }}
|
||||
networks:
|
||||
- net
|
||||
environment:
|
||||
- TZ={{ timezone }}
|
||||
volumes:
|
||||
- {{ gitlab.paths.config }}:/etc/gitlab/
|
||||
- {{ gitlab.paths.logs}}:/var/log/gitlab/
|
||||
- {{ gitlab.paths.data}}:/var/opt/gitlab/
|
||||
ports:
|
||||
- {{ gitlab.ports.ssh.remote }}:{{ gitlab.ports.ssh.local }}
|
||||
- {{ gitlab.ports.http.remote }}:{{ gitlab.ports.http.local }}
|
||||
- {{ gitlab.ports.https.remote }}:{{ gitlab.ports.https.local }}
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.http.routers.{{ gitlab.host }}.rule=Host(`{{ gitlab.host }}.{{ aya01_host }}.{{ local_domain }}`)"
|
||||
- "traefik.http.services.{{ gitlab.host }}.loadbalancer.server.port={{ gitlab.ports.http.local }}"
|
||||
|
||||
networks:
|
||||
zoneminder:
|
||||
driver: bridge
|
||||
|
||||
@@ -23,6 +23,8 @@ scrape_configs:
|
||||
insecure_skip_verify: true
|
||||
static_configs:
|
||||
- targets: ['{{ aya01_ip }}:{{node_exporter_port}}']
|
||||
- targets: ['{{ mii_ip }}:{{node_exporter_port}}']
|
||||
- targets: ['{{ pi_ip }}:{{node_exporter_port}}']
|
||||
- job_name: Mikrotik
|
||||
static_configs:
|
||||
- targets:
|
||||
|
||||
Reference in New Issue
Block a user