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:
42
config.example.json
Normal file
42
config.example.json
Normal file
@@ -0,0 +1,42 @@
|
||||
{
|
||||
"active_profile": "my-server",
|
||||
"profiles": {
|
||||
"my-server": {
|
||||
"server": {
|
||||
"name": "my-server",
|
||||
"ip": "1.2.3.4",
|
||||
"ssh_user": "deploy-user",
|
||||
"ssh_host": "my-server",
|
||||
"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.example.com",
|
||||
"internal_url": "http://gitea-container-ip:3000",
|
||||
"api_path": "/api/v1",
|
||||
"default_owner": "your-username",
|
||||
"ssh_host": "git.example.com",
|
||||
"ssh_port": 2222
|
||||
},
|
||||
"webhook": {
|
||||
"url": "https://deploy.example.com/webhook",
|
||||
"events": ["push"],
|
||||
"branch_filter": "main master"
|
||||
},
|
||||
"domains": {
|
||||
"default_pattern": "{app}.example.com",
|
||||
"available": ["example.com"]
|
||||
},
|
||||
"secrets": {
|
||||
"gitea_token": "~/.claude/secrets/gitea.json",
|
||||
"cloudflare_token": "~/.claude/secrets/cloudflare.json"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user