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:
22
assets/Makefile.template
Normal file
22
assets/Makefile.template
Normal 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
|
||||
21
assets/docker-compose.template.yaml
Normal file
21
assets/docker-compose.template.yaml
Normal 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
|
||||
Reference in New Issue
Block a user