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
22 lines
435 B
YAML
22 lines
435 B
YAML
# 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
|