Komodo Bot a1d1900d99 Rename project from komodo-demo to komodo
Repository renamed and all Komodo resources configured via API:

API Changes (completed):
- ✓ Renamed Gitea repository: komodo-demo → komodo
- ✓ Created Build resource: komodo-build
- ✓ Created Stack resource: komodo-stack (server: syn01)
- ✓ Created Sync resource: komodo-sync
- ✓ Updated webhooks with new resource names

File Updates:
- Updated all references from komodo-demo to komodo
- Removed "demo" tags from resources
- Updated package.json, docker-compose.yml, app.js
- Updated documentation and setup scripts

Integration fully configured via APIs!
2025-12-14 14:46:47 -08:00

Komodo + Gitea Integration Demo

This repository demonstrates the integration between Komodo and Gitea.

What's Included

Application

  • app.js: Simple Express.js web server
  • package.json: Node.js dependencies
  • Dockerfile: Container build configuration

Docker Compose

  • docker-compose.yml: Stack deployment configuration

Komodo Configuration

  • .komodo/resources.toml: Komodo resource definitions
    • Build: Builds Docker image from Dockerfile
    • Stack: Deploys app using docker-compose
    • Sync: Syncs Komodo resources from Git

Integration Features

  1. Webhook-Driven Builds: Push to main branch triggers automatic Docker image build
  2. Automated Deployment: Built images can be automatically deployed via Stack resource
  3. GitOps Configuration: Manage Komodo resources in Git using Resource Sync

API Endpoints

  • GET /: Returns app info and timestamp
  • GET /health: Health check endpoint

Setup

  1. Configure Gitea access token in Komodo
  2. Create Build, Stack, and Sync resources in Komodo
  3. Set up webhooks in Gitea pointing to Komodo
  4. Push changes to trigger automation

Testing

Push changes to the repository and watch Komodo:

  • Build the Docker image
  • Deploy the updated stack
  • Sync configuration changes
Description
Demo repository for Komodo integration with Gitea
Readme 214 KiB
Languages
JavaScript 53.6%
Shell 45.2%
Dockerfile 1.2%