Compare commits
No commits in common. "1919071f08a5d025043f712fb4afec00d1cc23dd" and "db80c21d439895c29a5555a0a6244f5c25678744" have entirely different histories.
1919071f08
...
db80c21d43
2
.gitignore
vendored
2
.gitignore
vendored
@ -1,2 +1,2 @@
|
|||||||
/**/*.env
|
/**/.env
|
||||||
/**/*.txt
|
/**/*.txt
|
||||||
|
|||||||
@ -1 +0,0 @@
|
|||||||
COMPOSE_PROJECT_NAME=npg
|
|
||||||
@ -1,98 +0,0 @@
|
|||||||
---
|
|
||||||
x-logging: &default-logging
|
|
||||||
driver: local
|
|
||||||
options:
|
|
||||||
max-size: "1m"
|
|
||||||
max-file: "50"
|
|
||||||
|
|
||||||
x-opt-values: &volume-opt
|
|
||||||
driver_opts: &options
|
|
||||||
type: "nfs"
|
|
||||||
o: "addr=${IP},rw"
|
|
||||||
|
|
||||||
services:
|
|
||||||
# https://learn.netdata.cloud/docs/agent/packaging/docker
|
|
||||||
# https://learn.netdata.cloud/docs/agent/exporting/walkthrough
|
|
||||||
netdata:
|
|
||||||
image: netdata/netdata
|
|
||||||
container_name: netdata
|
|
||||||
hostname: netdata.domain.tld # set to fqdn of host
|
|
||||||
env_file:
|
|
||||||
- netdata.env
|
|
||||||
restart: unless-stopped
|
|
||||||
cap_add:
|
|
||||||
- SYS_PTRACE
|
|
||||||
security_opt:
|
|
||||||
- apparmor:unconfined
|
|
||||||
volumes:
|
|
||||||
- netdataconfig:/etc/netdata:ro
|
|
||||||
- netdatalib:/var/lib/netdata
|
|
||||||
- netdatacache:/var/cache/netdata
|
|
||||||
- /etc/passwd:/host/etc/passwd:ro
|
|
||||||
- /etc/group:/host/etc/group:ro
|
|
||||||
- /proc:/host/proc:ro
|
|
||||||
- /sys:/host/sys:ro
|
|
||||||
- /etc/os-release:/host/etc/os-release:ro
|
|
||||||
- /var/run/docker.sock:/var/run/docker.sock:ro
|
|
||||||
networks:
|
|
||||||
- reverse-proxy
|
|
||||||
- npg
|
|
||||||
logging: *default-logging
|
|
||||||
|
|
||||||
prometheus:
|
|
||||||
image: prom/prometheus
|
|
||||||
container_name: prometheus
|
|
||||||
hostname: prometheus
|
|
||||||
env_file:
|
|
||||||
prometheus.env
|
|
||||||
volumes:
|
|
||||||
- prometheus:/etc/prometheus
|
|
||||||
networks:
|
|
||||||
- npg
|
|
||||||
logging: *default-logging
|
|
||||||
|
|
||||||
grafana:
|
|
||||||
image: grafana/grafana
|
|
||||||
container_name: grafana
|
|
||||||
env_file:
|
|
||||||
grafana.env
|
|
||||||
volumes:
|
|
||||||
- grafana:/var/lib/grafana
|
|
||||||
networks:
|
|
||||||
- npg
|
|
||||||
logging: *default-logging
|
|
||||||
|
|
||||||
# Can be substituted by a standard volume declaration if it's just a test
|
|
||||||
# environment or no nfs server is available
|
|
||||||
volumes:
|
|
||||||
netdataconfig:
|
|
||||||
<<: *volume-opt
|
|
||||||
driver_opts:
|
|
||||||
<<: *options
|
|
||||||
device: ":/mnt/path/netdata/netdataconfig"
|
|
||||||
netdatalib:
|
|
||||||
<<: *volume-opt
|
|
||||||
driver_opts:
|
|
||||||
<<: *options
|
|
||||||
device: ":/mnt/path/netdata/netdatalib"
|
|
||||||
netdatacache:
|
|
||||||
<<: *volume-opt
|
|
||||||
driver_opts:
|
|
||||||
<<: *options
|
|
||||||
device: ":/mnt/path/netdata/netdatacache"
|
|
||||||
prometheus:
|
|
||||||
<<: *volume-opt
|
|
||||||
driver_opts:
|
|
||||||
<<: *options
|
|
||||||
device: ":/mnt/path/prometheus/prometheus"
|
|
||||||
grafana:
|
|
||||||
<<: *volume-opt
|
|
||||||
driver_opts:
|
|
||||||
<<: *options
|
|
||||||
device: ":/mnt/path/grafana/grafana"
|
|
||||||
|
|
||||||
networks:
|
|
||||||
reverse-proxy:
|
|
||||||
name: rp_reverse-proxy
|
|
||||||
external: true
|
|
||||||
npg:
|
|
||||||
@ -1,3 +0,0 @@
|
|||||||
VIRTUAL_HOST="grafana.domain.tld"
|
|
||||||
VIRTUAL_PORT=3000
|
|
||||||
LETSENCRYPT_HOST="grafana.domain.tld"
|
|
||||||
@ -1,6 +0,0 @@
|
|||||||
VIRTUAL_HOST="netdata.domain.tld"
|
|
||||||
VIRTUAL_PORT=19999
|
|
||||||
LETSENCRYPT_HOST="netdata.domain.tld"
|
|
||||||
NETDATA_CLAIM_TOKEN=hOOww34Yc-6vYBYxRKBop6Ozbsf0B2WSaPBTsW_mbHuBYiHcGDVsvbqETz5SaevMvOVBK_4r7q6WwLZTTD3iwHy2T2X1NsRExqUWWUn3LQXDGYlvKKCynVRafuNT9xmH1cuQ0l8
|
|
||||||
NETDATA_CLAIM_URL=https://app.netdata.cloud
|
|
||||||
NETDATA_CLAIM_ROOMS=
|
|
||||||
@ -1,5 +0,0 @@
|
|||||||
# File that has to be put under /etc/netdata/go.d/nginx.conf to monitor
|
|
||||||
# nginx_status
|
|
||||||
jobs:
|
|
||||||
- name: local
|
|
||||||
url: http://nginx-proxy/nginx_status
|
|
||||||
@ -1,3 +0,0 @@
|
|||||||
VIRTUAL_HOST="prometheus.domain.tld"
|
|
||||||
VIRTUAL_PORT=9090
|
|
||||||
LETSENCRYPT_HOST="prometheus.domain.tld"
|
|
||||||
@ -1 +0,0 @@
|
|||||||
COMPOSE_PROJECT_NAME=pmb
|
|
||||||
@ -1 +0,0 @@
|
|||||||
|
|
||||||
@ -1,33 +0,0 @@
|
|||||||
x-logging:
|
|
||||||
&default-logging
|
|
||||||
driver: local
|
|
||||||
options:
|
|
||||||
max-size: "1m"
|
|
||||||
max-file: "50"
|
|
||||||
|
|
||||||
x-opt-values:
|
|
||||||
&volume-opt
|
|
||||||
driver_opts: &options
|
|
||||||
type: "nfs"
|
|
||||||
o: "addr=${IP},rw"
|
|
||||||
|
|
||||||
services:
|
|
||||||
protonmail-bridge:
|
|
||||||
image: shenxn/protonmail-bridge
|
|
||||||
container_name: protonmail-bridge
|
|
||||||
restart: always
|
|
||||||
volumes:
|
|
||||||
- protonmail:/root
|
|
||||||
networks:
|
|
||||||
- protonmail
|
|
||||||
logging: *default-logging
|
|
||||||
|
|
||||||
volumes:
|
|
||||||
protonmail:
|
|
||||||
<<: *volume-opt
|
|
||||||
driver_opts:
|
|
||||||
<<: *options
|
|
||||||
device: ":/mnt/path/protonmail/protonmail"
|
|
||||||
|
|
||||||
networks:
|
|
||||||
protonmail:
|
|
||||||
Loading…
x
Reference in New Issue
Block a user