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

22
assets/Makefile.template Normal file
View File

@@ -0,0 +1,22 @@
.PHONY: up down logs pull restart ps build
up:
docker compose up -d
down:
docker compose down
logs:
docker compose logs -f
pull:
docker compose pull
restart:
docker compose restart
ps:
docker compose ps
build:
docker compose up -d --build

View File

@@ -0,0 +1,21 @@
# Template: Replace {app_name}, {image}, and {port} with actual values
services:
{app_name}:
image: {image}
container_name: {app_name}
restart: unless-stopped
# Uncomment if building from Dockerfile:
# build: .
env_file:
- .env
networks:
- proxy
- default
# Uncomment and set the internal port:
# expose:
# - "{port}"
networks:
proxy:
name: proxy
external: true