Reset history to current sanitized state

This commit is contained in:
2026-08-06 16:20:11 +00:00
commit 168c4558aa
4 changed files with 101 additions and 0 deletions
+27
View File
@@ -0,0 +1,27 @@
# ---> VisualStudioCode
.vscode/*
!.vscode/settings.json
!.vscode/tasks.json
!.vscode/launch.json
!.vscode/extensions.json
!.vscode/*.code-snippets
# Local History for Visual Studio Code
.history/
# Built Visual Studio Code Extensions
*.vsix
# BEGIN reset-history environment exclusions
.env
.env.*
*.env
*.env.*
!.env.example
!.env.*.example
!*.env.example
!*.env.*.example
*.swp
.DS_Store
# END reset-history environment exclusions
+24
View File
@@ -0,0 +1,24 @@
This is free and unencumbered software released into the public domain.
Anyone is free to copy, modify, publish, use, compile, sell, or
distribute this software, either in source code form or as a compiled
binary, for any purpose, commercial or non-commercial, and by any
means.
In jurisdictions that recognize copyright laws, the author or authors
of this software dedicate any and all copyright interest in the
software to the public domain. We make this dedication for the benefit
of the public at large and to the detriment of our heirs and
successors. We intend this dedication to be an overt act of
relinquishment in perpetuity of all present and future rights to this
software under copyright law.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR
OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
OTHER DEALINGS IN THE SOFTWARE.
For more information, please refer to <https://unlicense.org/>
+24
View File
@@ -0,0 +1,24 @@
# Grafana
Self-hosted visualization and alerting service for dashboards built from configured monitoring data sources.
## Deployment layout
- **Compose:** `/srv/docker/grafana/docker-compose.yml`
- **Static configuration/source:** no additional static configuration or build source
- **Non-secret environment:** embedding, cookie, content-security-policy, and anonymous Viewer settings are declared
inline in Compose; there is no project-local `.env`
- **Secrets:** none
- **NVMe application state:** `/srv/appdata/grafana/data`
- **Bulk HDD data:** none
- **Other mounts:** none
Secrets are never committed to this repository. No standalone secret file is
declared; credentials entered through Grafana are retained in its protected application-managed state.
## Dependencies and recovery
- **Networks/dependencies:** external `npm_proxy` network at `192.168.96.13`; monitoring data sources are configured
within Grafana and were not inspected
- **Back up:** `/srv/appdata/grafana/data`
- **Re-creatable:** the Grafana container; no separate cache or temporary-data mount is declared
+26
View File
@@ -0,0 +1,26 @@
services:
grafana:
mem_limit: 768m
memswap_limit: 1.5g
image: grafana/grafana-enterprise
container_name: grafana
restart: unless-stopped
volumes:
- /srv/appdata/grafana/data:/var/lib/grafana
# ports:
# - '3000:3000'
environment:
- GF_SECURITY_ALLOW_EMBEDDING=true
- GF_SECURITY_COOKIE_SAMESITE=none
- GF_SECURITY_COOKIE_SECURE=true
- GF_SECURITY_CONTENT_SECURITY_POLICY=true
- GF_SECURITY_CONTENT_SECURITY_POLICY_TEMPLATE=frame-ancestors *.lan 'self';
- GF_AUTH_ANONYMOUS_ENABLED=true # optional but makes embedding painless
- GF_AUTH_ANONYMOUS_ORG_ROLE=Viewer
networks:
npm_proxy:
ipv4_address: 192.168.96.13
networks:
npm_proxy:
external: true