@@ -456,6 +456,7 @@ services:
|
||||
image: grafana/grafana-oss
|
||||
container_name: {{ grafana_host }}
|
||||
restart: unless-stopped
|
||||
user: "0:0"
|
||||
depends_on:
|
||||
- {{ prometheus_host }}
|
||||
networks:
|
||||
@@ -474,6 +475,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 }}
|
||||
shm_size: '256m'
|
||||
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
|
||||
|
||||
@@ -39,3 +39,6 @@ scrape_configs:
|
||||
target_label: instance
|
||||
- target_label: __address__
|
||||
replacement: {{ aya01_ip }}:{{ snmp_exporter_port }} # The SNMP exporter's real hostname:port.
|
||||
- job_name: 'smart'
|
||||
static_configs:
|
||||
- targets: ['{{ aya01_ip }}:{{smart_exporter.port}}']
|
||||
|
||||
Reference in New Issue
Block a user