feat: Flatten stack structure - all stacks directly in stacks/
- Removed all subdirectories - Renamed compose.yml to <stack>-compose.yml - Updated stack.toml to reference new compose file names - Structure is now flat for easier Komodo sync New structure: stacks/ ├── prometheus.toml ├── prometheus-compose.yml ├── grafana.toml ├── grafana-compose.yml ├── gotify.toml ├── gotify-compose.yml ├── vaultwarden.toml ├── vaultwarden-compose.yml └── node-exporter.toml └── node-exporter-compose.yml
This commit is contained in:
parent
2ee82c24e1
commit
f0bcf8c70c
15 changed files with 5 additions and 348 deletions
|
|
@ -1,70 +0,0 @@
|
|||
# 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
|
||||
|
|
@ -1,27 +0,0 @@
|
|||
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
|
||||
|
|
@ -1,25 +0,0 @@
|
|||
[stack]
|
||||
name = "Gotify"
|
||||
description = "Push-Benachrichtigungen selbst gehostet"
|
||||
version = "1.0.0"
|
||||
category = "communication"
|
||||
author = "nocci"
|
||||
|
||||
[compose]
|
||||
file = "compose.yml"
|
||||
|
||||
[variables.secrets]
|
||||
gotify-admin-user = "Admin Username"
|
||||
gotify-admin-pass = "Admin Password"
|
||||
|
||||
[ports]
|
||||
gotify = "80"
|
||||
|
||||
[volumes]
|
||||
gotify_data = "/app/data"
|
||||
|
||||
[healthcheck]
|
||||
endpoint = "http://localhost:80/health"
|
||||
interval = "30s"
|
||||
timeout = "10s"
|
||||
retries = 3
|
||||
Loading…
Add table
Add a link
Reference in a new issue