From 93bc0338807ae9d63012fa385222a01fb3b9d4d8 Mon Sep 17 00:00:00 2001 From: Beda Schmid Date: Thu, 6 Aug 2026 16:18:38 +0000 Subject: [PATCH] Reset history to current sanitized state --- .gitignore | 25 +++++++++++++++++++++++++ LICENSE | 24 ++++++++++++++++++++++++ README.md | 2 ++ docker-compose.yml | 26 ++++++++++++++++++++++++++ 4 files changed, 77 insertions(+) create mode 100644 .gitignore create mode 100644 LICENSE create mode 100644 README.md create mode 100644 docker-compose.yml diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..ca8dacf --- /dev/null +++ b/.gitignore @@ -0,0 +1,25 @@ +# ---> 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 +# END reset-history environment exclusions diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..efb9808 --- /dev/null +++ b/LICENSE @@ -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 diff --git a/README.md b/README.md new file mode 100644 index 0000000..53f9a49 --- /dev/null +++ b/README.md @@ -0,0 +1,2 @@ +# grafana + diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..f066346 --- /dev/null +++ b/docker-compose.yml @@ -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