Initial caddy skill

This commit is contained in:
Azat
2026-02-02 22:11:35 +01:00
commit 4821a20380
4 changed files with 107 additions and 0 deletions

54
SKILL.md Normal file
View File

@@ -0,0 +1,54 @@
---
name: caddy
description: Caddy web server with automatic HTTPS
metadata:
version: "1.0.0"
vibestack:
main: false
---
# Caddy Skill
Installs and configures [Caddy](https://caddyserver.com/) web server with automatic HTTPS.
## Features
- Automatic HTTPS with Let's Encrypt
- Reverse proxy support
- Static file serving
- Zero-downtime reloads
## Configuration
Create a `Caddyfile` in your skill's directory or set `CADDYFILE_PATH` environment variable.
### Environment Variables
| Variable | Description | Default |
|----------|-------------|---------|
| `CADDYFILE_PATH` | Path to Caddyfile | `/skills/caddy/Caddyfile` |
| `CADDY_DATA_DIR` | Caddy data directory | `/data/caddy` |
## Example Caddyfile
```caddyfile
:80 {
respond "Hello from Caddy!"
}
# Reverse proxy example
# api.example.com {
# reverse_proxy localhost:8080
# }
```
## Usage
This skill is typically used as a dependency by other skills that need a web server:
```yaml
metadata:
vibestack:
requires:
- caddy
```