Appearance
Project Types
Updatectl supports different types of projects with varying update strategies.
Docker
For containerized applications using Docker or Docker Compose.
Process:
- Pull latest Git changes
- Execute the
buildCommand
Example:
yaml
type: docker
buildCommand: docker compose up -d --buildUse cases: Web apps, APIs, databases in containers
PM2
For Node.js applications managed by PM2 process manager.
Process:
- Pull latest Git changes
- Execute the
buildCommand(if configured) - Restart the PM2 process
Example:
yaml
type: pm2
buildCommand: npm install && npm run buildRequirements: PM2 must be installed and the app started with pm2 start
example: `pm2 start index.js --name my-app
name must match name in updatectl config
Static
For static websites or projects that only need Git pulls.
Process:
- Pull latest Git changes
- Execute the
buildCommand(if configured)
Example:
yaml
type: static
buildCommand: npm run buildUse cases: Static site generators, documentation sites