feat: Restructure to subdirectories with compose.yml

Each stack now has its own directory with standard compose.yml:
- stacks/gotify/compose.yml
- stacks/prometheus/compose.yml
- stacks/grafana/compose.yml
- stacks/vaultwarden/compose.yml
- stacks/node-exporter/compose.yml

Benefits:
- Cleaner structure
- Easier to maintain
- Works with Komodo manual stack creation
- README.md for each stack with deployment info

Usage in Komodo:
1. Stacks → Add Stack
2. Source: Git Repo (nocci/komodo-stacks)
3. Path: stacks/<stack-name>/ (the folder!)
4. Deploy to server
This commit is contained in:
nocci 2026-03-09 19:51:35 +00:00
parent f0bcf8c70c
commit b37541bb7a
16 changed files with 155 additions and 233 deletions

20
stacks/gotify/README.md Normal file
View file

@ -0,0 +1,20 @@
# Gotify
📱 Push-Benachrichtigungen selbst gehostet
## Deploy in Komodo
**Pfad:** `stacks/gotify/`
## Secrets
- `GOTIFY_DEFAULTUSER_NAME` - Admin Username
- `GOTIFY_DEFAULTUSER_PASS` - Admin Password
## Caddy
```caddyfile
gotify.example.com {
reverse_proxy localhost:9091
}
```

27
stacks/gotify/compose.yml Normal file
View 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