Initial commit: _deploy_app skill

Deploy new apps or push updates to existing deployments via
Docker Compose + Caddy + Gitea webhooks. Multi-server profiles,
auto-detection of deployment status, full infrastructure provisioning.

- SKILL.md: 715-line workflow documentation
- scripts/detect_deployment.py: deployment status detection
- scripts/validate_compose.py: compose file validation
- references/: infrastructure, compose patterns, Caddy patterns
- assets/: Makefile and compose templates
- config.json: mew server profile
This commit is contained in:
Darren Neese
2026-03-25 21:12:30 -04:00
commit 994332a3f0
11 changed files with 3006 additions and 0 deletions

42
config.json Normal file
View File

@@ -0,0 +1,42 @@
{
"active_profile": "mew",
"profiles": {
"mew": {
"server": {
"name": "mew",
"ip": "155.94.170.136",
"ssh_user": "darren",
"ssh_host": "mew",
"deploy_map": "/etc/deploy-listener/deploy-map.json",
"deploy_env": "/etc/deploy-listener/deploy-listener.env",
"caddyfile": "/data/docker/caddy/Caddyfile",
"caddy_container": "caddy",
"caddy_compose_dir": "/data/docker/caddy",
"compose_dir": "/srv/git",
"proxy_network": "proxy",
"proxy_gateway": "10.0.12.1"
},
"gitea": {
"external_url": "https://git.lavender-daydream.com",
"internal_url": "http://10.0.12.5:3000",
"api_path": "/api/v1",
"default_owner": "darren",
"ssh_host": "git.lavender-daydream.com",
"ssh_port": 2222
},
"webhook": {
"url": "https://deploy.lavender.spl.tech/webhook",
"events": ["push"],
"branch_filter": "main master"
},
"domains": {
"default_pattern": "{app}.lavender.spl.tech",
"available": ["lavender-daydream.com", "spl.tech"]
},
"secrets": {
"gitea_token": "~/.claude/secrets/gitea.json",
"cloudflare_token": "~/.claude/secrets/cloudflare.json"
}
}
}
}