addet snippets

This commit is contained in:
pika 2025-02-15 18:01:10 +01:00
parent bed12dadf8
commit e7f703ecb7

View file

@ -1 +1 @@
{"hugocards + hcard":{"prefix":["hugocards","hcard"],"body":"{{< card link=\"${1:link}\" title=\"${2:title}\" icon=\"${3:iconpath}\" >}}"}}
{"hugo doku application":{"prefix":"hugo doku application","body":["---","title: \"${1:title}\"","# date: ","draft: false","type: docs","---","","{{< badge content=\"${1:title}\" link=\"${2:link}\" >}}","","**Description:** ","${3:Briefly describe what the application does and its purpose in your setup}","","**Category:**","","- [ ] Business","- [${4:x}] Homelab","- [ ] Development","- [ ] Other: _Specify_","","{{% details title=\"Deployment details\" closed=\"false\" %}}","","### Hosting & Deployment","","**Hosting Environment:**","","- [ ] Docker","- [ ] Bare Metal","- [ ] Virtual Machine (Proxmox)","- [ ] Kubernetes","- [ ] Other: _Specify_","","| **Host** | **IP** | **OS** |","| -------- | ------ | ------ |","| **${5:host}** | ${6:ip} | ${7:os} |","","**Deployment Method:**","","- [ ] Docker Compose","- [ ] Manual Install","- [ ] Other: _Specify_","","**Repository & Links:**","","{{< cards >}}","{{< card title=\"${8:Sitename}\" link=\"${9:link}\">}}","{{< \/cards >}}","","{{% \/details %}}","","{{% details title=\"Configuration\" closed=\"true\" %}}","","### Environment Variables","","```bash {filename=\".env\"}","","```","","```yml {filename=\"docker-compose.yml\"}","","```","","{{% \/details %}}","","{{% details title=\"Networking\" closed=\"true\" %}}","","### Network & Access","","**Access URL:** [${1:title}](${2:link})","","**Reverse Proxy:**","","- [ ] Traefik","- [ ] Nginx","- [ ] Other: _Specify_","","{{% \/details %}}","","{{% details title=\"Database (If Required)\" closed=\"true\" %}}","","### Database Configuration","","**Type:**","","- [ ] MySQL","- [ ] PostgreSQL","- [ ] SQLite","- [ ] MongoDB","- [ ] Other: _Specify_","","**Database Host & Credentials:**","","```bash {filetype=\".env\"}","","```","","{{% \/details %}}","","{{% details title=\"Maintenance & Backup\" closed=\"true\" %}}","","### Update- und Backup-Strategie","","**Update Method:**","","- [ ] Manual Pull (`docker pull`)","- [ ] Diun","- [ ] Watchtower \/ Auto-Update","- [ ] Other: _Specify_","","**Backup Strategy:**","","- [ ] Volume Snapshot","- [ ] Database Dump","- [ ] External Storage (S3, NAS, etc.)","- [ ] Backup Host via ProxmoxBackup","","{{% \/details %}}","","{{% details title=\"Issues & Troubleshooting\" closed=\"true\" %}}","","### Common issues and solutions","","| Issue | Solution |","| ------------- | ----------- |","| Example Error | Example Fix |","","{{% \/details %}}","","## Additional Notes","","{{< callout type=\"info\" >}}","","${10:Additional Notes}","","{{< \/callout >}}"]},"hugo doku server":{"body":["---","title: \"${1:title}\"","# date:","draft: false","type: docs","---","","**Category:**","","- [ ] Business","- [${2:x}] Homelab","- [ ] Development","- [ ] Other: _Specify_","","{{% details title=\"Hosting\" closed=\"false\" %}}","","### Hosting & Deployment","","**Hosting Environment:**","","- [ ] Bare Metal","- [ ] Virtual Machine (Proxmox)","- [ ] Hetzner","- [ ] Other: _Specify_","","| **Hostname** | **IP(s)** | **OS** |","| ------------ | --------- | ------ |","| **${3:hostname}** | ${4:ip} | ${5:os} |","","**Links:**","","{{< cards >}}","{{< card title=\"doku\" link=\"link\">}}","{{< \/cards >}}","","{{% \/details %}}","","{{% details title=\"Configuration\" closed=\"true\" %}}","","### OS-Details","","```bash {filename=\"\/etc\/os-release\"}","","```","","#### Specs","","| vCPU | RAM | Disk |","| ---- | --- | ---- |","| ${6:vCPUs} | ${7:RAM} | ${8:Diskspace} |","","{{% \/details %}}","","{{% details title=\"Networking\" closed=\"true\" %}}","","### Network & Firewall","","| src | dest | port | rule |","| --- | ---- | ---- | ---- |","","{{% \/details %}}","","{{% details title=\"Maintenance & Backup\" closed=\"true\" %}}","","### Update- und Backup-Strategie","","**Update Method:**","","- [ ] Manual update (apt-get update, dnf update..)","- [ ] Automatic update","- [ ] Other: _Specify_","","**Backup Strategy:**","","- [ ] Volume Snapshot","- [ ] Proxmox Backup","- [ ] Hetzner Backup","","{{% \/details %}}","","## Additional Notes","","{{< callout type=\"info\" >}}","","${9:Additional Notes}","","{{< \/callout >}}"],"prefix":"hugo doku server"},"hugocards + hcard":{"prefix":["hugocards","hcard"],"body":"{{< card link=\"${1:link}\" title=\"${2:title}\" icon=\"${3:iconpath}\" >}}"}}