CI / ci (push) Canceled after 0s
Implemented the deployment redesign. - Added Dockge-first-class stacks: - [stacks/infra/compose.yaml] - [stacks/caddy/compose.yaml] - Added reusable business template: [deploy/business-compose.yaml.template] - Added automated provisioning: [scripts/create-business.sh] - Added per-business database/user, secrets, media volume, private networks, and Caddy route generation. - Removed Traefik and manual business Compose files. - Updated environment templates, .gitignore, and deployment documentation in [README.md] Validation completed: - Docker Compose config passed for infra, Caddy, and generated business stacks. - Shell syntax validation passed. - Registry image tags containing / were tested. - No remaining Traefik or obsolete deployment references found.
31 lines
621 B
YAML
31 lines
621 B
YAML
name: nextchair-caddy
|
|
|
|
services:
|
|
nextchair-caddy:
|
|
image: caddy:2.10-alpine
|
|
container_name: nextchair-caddy
|
|
restart: unless-stopped
|
|
env_file:
|
|
- .env
|
|
ports:
|
|
- "80:80"
|
|
- "443:443"
|
|
volumes:
|
|
- ./Caddyfile:/etc/caddy/Caddyfile:ro
|
|
- ./sites:/etc/caddy/sites:ro
|
|
- nextchair-caddy-data:/data
|
|
- nextchair-caddy-config:/config
|
|
networks:
|
|
- nextchair-proxy
|
|
|
|
volumes:
|
|
nextchair-caddy-data:
|
|
name: nextchair-caddy-data
|
|
nextchair-caddy-config:
|
|
name: nextchair-caddy-config
|
|
|
|
networks:
|
|
nextchair-proxy:
|
|
name: nextchair-proxy
|
|
external: true
|