Deployment

Deploy SE104_VLEAGUE with Docker Compose, SSL, migrations, and health checks.

1|Updated Jan 28, 2026
One-click install
npx skills add https://github.com/daithang-organization/SE104_VLEAGUE --skill deployment-daithang-organization
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Deployment
Source: https://github.com/daithang-organization/SE104_VLEAGUE/tree/main/.agent/skills/deployment
Command: npx skills add https://github.com/daithang-organization/SE104_VLEAGUE --skill deployment-daithang-organization

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill addresses the complexity and risk of deploying SE104_VLEAGUE to production by providing Docker-based provisioning, environment configuration, SSL setup, and scaling guidance.

Core Features & Use Cases

  • Production readiness: automated checks, builds, migrations, and secure secret handling.
  • Multi-service deployment: orchestrates API and web services with Docker Compose and scalable replicas; handles DNS and SSL termination.
  • Use case: deploy a fully functional production stack for SE104_VLEAGUE with zero-downtime updates and reliable health checks.

Quick Start

  1. Run production checks: pnpm test && pnpm lint && pnpm build
  2. Build production images: docker compose -f docker-compose.prod.yml build
  3. Deploy and scale: docker compose -f docker-compose.prod.yml up -d --scale api=3
  4. Apply migrations: docker compose exec api npx prisma migrate deploy
  5. Verify health endpoints: curl -s http://localhost/health

Frequently Asked Questions about Deployment

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I deploy a Dockerized API and web service to production with zero downtime?

Production deployment with Docker Compose involves building images, scaling replicas with docker compose up -d --scale, and verifying health endpoints to ensure zero-downtime updates for API and web services.

How do I run PostgreSQL database migrations in a Docker production environment?

Run PostgreSQL migrations in Docker by executing docker compose exec api npx prisma migrate deploy after starting the containers, applying schema changes directly to the production database securely.

What is the best way to configure SSL termination for a Docker Compose production stack?

SSL termination for a Docker Compose stack is configured during the deployment workflow by provisioning DNS and applying SSL certificates to the reverse proxy, ensuring secure HTTPS traffic routing.

Does this deployment workflow require running tests and linting before building Docker images?

Yes, the deployment workflow requires running pnpm test, pnpm lint, and pnpm build before building Docker images to enforce production readiness and prevent deploying broken code.

Can I scale API replicas horizontally in an on-prem Docker environment?

Yes, you can scale API replicas horizontally in both cloud and on-prem environments using the docker compose -f docker-compose.prod.yml up -d --scale api=3 command to handle increased load.