diff --git a/netdata/compose.yaml b/netdata/compose.yaml index 4502485..253be61 100644 --- a/netdata/compose.yaml +++ b/netdata/compose.yaml @@ -13,6 +13,8 @@ services: - netdata_config:/etc/netdata - netdata_lib:/var/lib/netdata - netdata_cache:/var/cache/netdata + - ./go.d:/etc/netdata/go.d:ro + - /mnt/hidrive/users/valknar/Backup:/mnt/hidrive/users/valknar/Backup:ro - /etc/passwd:/host/etc/passwd:ro - /etc/group:/host/etc/group:ro - /etc/localtime:/etc/localtime:ro diff --git a/netdata/go.d/filecheck.conf b/netdata/go.d/filecheck.conf new file mode 100644 index 0000000..ee87551 --- /dev/null +++ b/netdata/go.d/filecheck.conf @@ -0,0 +1,5 @@ +jobs: + - name: restic_repository + dirs: + include: + - '/mnt/hidrive/users/valknar/Backup' diff --git a/netdata/go.d/postgres.conf b/netdata/go.d/postgres.conf new file mode 100644 index 0000000..03e0dd5 --- /dev/null +++ b/netdata/go.d/postgres.conf @@ -0,0 +1,3 @@ +jobs: + - name: docker_core_postgres + dsn: 'postgres://netdata:netdata_monitor_password@172.18.0.5:5432/postgres'