init: rozcestnik pro home infrastructure as code
This commit is contained in:
+18
@@ -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
|
||||||
@@ -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.
|
||||||
@@ -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://<server-ip>:3000/mates/mates-docker-services |
|
||||||
|
| `mates-ansible` | Ansible playbooky (bootstrap, deploy, update, security) | http://<server-ip>:3000/mates/mates-ansible |
|
||||||
|
| `mates-install-scripts` | Bash skripty pro správu Dockeru (záloha, update, cleanup, mount NAS) | http://<server-ip>:3000/mates/mates-install-scripts |
|
||||||
|
| `mates-macos-setup` | macOS workstation (Brewfile, Fish, Hermes) | http://<server-ip>:3000/mates/mates-macos-setup |
|
||||||
|
| `mates-home-nas-tools` | Metadata k projektům na NAS (bez binárek) | http://<server-ip>:3000/mates/mates-home-nas-tools |
|
||||||
|
|
||||||
|
## Rychlý start (nový server)
|
||||||
|
|
||||||
|
```bash
|
||||||
|
# Klonuj potřebná repo
|
||||||
|
git clone http://<server-ip>:3000/mates/mates-install-scripts.git
|
||||||
|
git clone http://<server-ip>:3000/mates/mates-docker-services.git
|
||||||
|
|
||||||
|
# Nasaď služby
|
||||||
|
cd mates-docker-services/<sluzba>
|
||||||
|
cp .env.example .env
|
||||||
|
docker compose up -d
|
||||||
|
```
|
||||||
|
|
||||||
|
## Licence
|
||||||
|
|
||||||
|
MIT – viz [LICENSE](LICENSE)
|
||||||
Reference in New Issue
Block a user