feat: Initial stacks for testing
Added first test stacks:
- monitoring/prometheus
- monitoring/grafana
- monitoring/node-exporter
- communication/gotify
- communication/vaultwarden
All stacks:
- Use localhost ports only (for Caddy reverse proxy)
- Support Komodo Secrets via ${SECRET:secret-name}
- Include README with Caddy integration instructions
- Ready for Komodo v2 Resource Sync
This commit is contained in:
commit
f9fdea3a1f
11 changed files with 663 additions and 0 deletions
70
stacks/communication/gotify/README.md
Normal file
70
stacks/communication/gotify/README.md
Normal file
|
|
@ -0,0 +1,70 @@
|
|||
# Gotify
|
||||
|
||||
📱 **Push-Benachrichtigungen selbst gehostet**
|
||||
|
||||
Gotify ist ein einfacher Server zum Senden und Empfangen von Push-Nachrichten.
|
||||
|
||||
---
|
||||
|
||||
## 🚀 Quick Start
|
||||
|
||||
1. **In Komodo:** Stack auswählen → Deploy
|
||||
2. **Server wählen** wo Gotify laufen soll
|
||||
3. **Warten** bis Container läuft
|
||||
4. **Caddy Config** hinzufügen (siehe unten)
|
||||
5. **Öffnen** und Admin-Account erstellen
|
||||
|
||||
---
|
||||
|
||||
## 🔧 Caddy Integration
|
||||
|
||||
Nach dem Deployen auf dem Server:
|
||||
|
||||
```bash
|
||||
ssh <server>
|
||||
sudo nano /etc/caddy/Caddyfile
|
||||
```
|
||||
|
||||
Hinzufügen:
|
||||
```caddyfile
|
||||
gotify.example.com {
|
||||
reverse_proxy localhost:9091
|
||||
}
|
||||
```
|
||||
|
||||
Dann:
|
||||
```bash
|
||||
sudo systemctl reload caddy
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
## 🔐 Secrets (Komodo)
|
||||
|
||||
Folgende Secrets in Komodo anlegen **vor** dem Deployen:
|
||||
|
||||
| Secret Name | Beschreibung | Beispiel |
|
||||
|-------------|--------------|----------|
|
||||
| `gotify-admin-user` | Admin Username | `admin` |
|
||||
| `gotify-admin-pass` | Admin Password | `sicheres-passwort` |
|
||||
|
||||
In Komodo: **Settings → Secrets → Add Secret**
|
||||
|
||||
---
|
||||
|
||||
## 📁 Files
|
||||
|
||||
- `compose.yml` - Docker Compose Konfiguration
|
||||
|
||||
---
|
||||
|
||||
## 🔄 Updates
|
||||
|
||||
Gotify wird automatisch aktuell gehalten durch Komodo.
|
||||
|
||||
---
|
||||
|
||||
## 📞 Support
|
||||
|
||||
- **Docs:** https://gotify.net/docs
|
||||
- **GitHub:** https://github.com/gotify/server
|
||||
27
stacks/communication/gotify/compose.yml
Normal file
27
stacks/communication/gotify/compose.yml
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
services:
|
||||
gotify:
|
||||
image: gotify/server:latest
|
||||
container_name: gotify
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "127.0.0.1:9091:80"
|
||||
volumes:
|
||||
- gotify_data:/app/data
|
||||
environment:
|
||||
- GOTIFY_DEFAULTUSER_NAME=${SECRET:gotify-admin-user}
|
||||
- GOTIFY_DEFAULTUSER_PASS=${SECRET:gotify-admin-pass}
|
||||
networks:
|
||||
- gotify-network
|
||||
healthcheck:
|
||||
test: ["CMD", "wget", "--spider", "-q", "http://localhost:80/health"]
|
||||
interval: 30s
|
||||
timeout: 10s
|
||||
retries: 3
|
||||
start_period: 10s
|
||||
|
||||
volumes:
|
||||
gotify_data:
|
||||
|
||||
networks:
|
||||
gotify-network:
|
||||
driver: bridge
|
||||
Loading…
Add table
Add a link
Reference in a new issue