6ad16565e4d2676c6558f6b0f2ae89c530721a96
Added: - SETUP_GUIDE.md: Complete step-by-step integration guide - komodo-gitea.config.toml: Gitea provider config snippet The guide covers: - Git provider configuration - Resource import options (Sync vs Manual) - Webhook setup with examples - Troubleshooting tips
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
- Webhook-Driven Builds: Push to
mainbranch triggers automatic Docker image build - Automated Deployment: Built images can be automatically deployed via Stack resource
- GitOps Configuration: Manage Komodo resources in Git using Resource Sync
API Endpoints
GET /: Returns app info and timestampGET /health: Health check endpoint
Setup
- Configure Gitea access token in Komodo
- Create Build, Stack, and Sync resources in Komodo
- Set up webhooks in Gitea pointing to Komodo
- 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
Languages
JavaScript
53.6%
Shell
45.2%
Dockerfile
1.2%