From 0be069fa85f4cffc77d95ebc814192b49664c01c Mon Sep 17 00:00:00 2001 From: mates Date: Sat, 1 Aug 2026 19:39:30 +0200 Subject: [PATCH] init: rozcestnik pro home infrastructure as code --- .gitignore | 18 ++++++++++++++++++ LICENSE | 21 +++++++++++++++++++++ README.md | 31 +++++++++++++++++++++++++++++++ 3 files changed, 70 insertions(+) create mode 100644 .gitignore create mode 100644 LICENSE create mode 100644 README.md diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..c8459ed --- /dev/null +++ b/.gitignore @@ -0,0 +1,18 @@ +# Secrets - nikdy v gitu +.env +*.env +!.env.example + +# Zálohy a dočasné soubory +*.bak +*.tmp +*.orig + +# Editor +.vscode/ +.idea/ +.DS_Store +*.swp + +# Build artefakty +*.log diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..17535d5 --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2026 mates + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +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 OR COPYRIGHT HOLDERS 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. diff --git a/README.md b/README.md new file mode 100644 index 0000000..ad0f7ba --- /dev/null +++ b/README.md @@ -0,0 +1,31 @@ +# mates-infra + +Hlavní index pro home infrastructure as code projekty. +Toto repo slouží jako rozcestník – detailní dokumentace je v Jotty knowledge base. + +## Repozitáře + +| Repo | Účel | URL | +|---|---|---| +| `mates-docker-services` | Docker Compose pro 14 služeb (portainer, npm, vaultwarden, gitea, jotty, nextcloud, další) | http://:3000/mates/mates-docker-services | +| `mates-ansible` | Ansible playbooky (bootstrap, deploy, update, security) | http://:3000/mates/mates-ansible | +| `mates-install-scripts` | Bash skripty pro správu Dockeru (záloha, update, cleanup, mount NAS) | http://:3000/mates/mates-install-scripts | +| `mates-macos-setup` | macOS workstation (Brewfile, Fish, Hermes) | http://:3000/mates/mates-macos-setup | +| `mates-home-nas-tools` | Metadata k projektům na NAS (bez binárek) | http://:3000/mates/mates-home-nas-tools | + +## Rychlý start (nový server) + +```bash +# Klonuj potřebná repo +git clone http://:3000/mates/mates-install-scripts.git +git clone http://:3000/mates/mates-docker-services.git + +# Nasaď služby +cd mates-docker-services/ +cp .env.example .env +docker compose up -d +``` + +## Licence + +MIT – viz [LICENSE](LICENSE)