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!
This commit is contained in:
2025-12-14 14:46:47 -08:00
parent ff54f0e49e
commit a1d1900d99
6 changed files with 53 additions and 53 deletions

View File

@@ -37,9 +37,9 @@ The automated setup will:
### Webhooks Already Created
The following webhooks have been automatically configured in Gitea:
- ✓ Build webhook: `http://komodo.internal:9120/listener/github/build/komodo-demo-build/build`
- ✓ Stack webhook: `http://komodo.internal:9120/listener/github/stack/komodo-demo-stack/deploy`
- ✓ Sync webhook: `http://komodo.internal:9120/listener/github/sync/komodo-demo-sync/sync`
- ✓ Build webhook: `http://komodo.internal:9120/listener/github/build/komodo-build/build`
- ✓ Stack webhook: `http://komodo.internal:9120/listener/github/stack/komodo-stack/deploy`
- ✓ Sync webhook: `http://komodo.internal:9120/listener/github/sync/komodo-sync/sync`
---
@@ -53,7 +53,7 @@ If you prefer to set up manually or need to customize the configuration, follow
- **Gitea User**: `komodo`
- **Gitea Token**: `18f8305e245023e8f5863991b66610854d6d9820`
- **Komodo Host**: `komodo.internal`
- **Repository**: `stray/komodo-demo`
- **Repository**: `stray/komodo`
## Step 1: Configure Gitea Provider in Komodo
@@ -94,10 +94,10 @@ The repository contains Komodo resource definitions in `.komodo/resources.toml`.
### Option A: Using Resource Sync (Recommended - GitOps approach)
1. In Komodo UI, create a new **Resource Sync**:
- **Name**: `komodo-demo-sync`
- **Name**: `komodo-sync`
- **Git Provider**: `gitea.straymoog.xyz`
- **Git Account**: `stray` (or `komodo`)
- **Repository**: `stray/komodo-demo`
- **Repository**: `stray/komodo`
- **Branch**: `main`
- **Resource Path**: `.komodo`
@@ -125,20 +125,20 @@ KOMODO_WEBHOOK_SECRET=your_secret_here
For each resource, create a webhook in Gitea:
#### Build Webhook
1. Go to `https://gitea.straymoog.xyz/stray/komodo-demo/settings/hooks`
1. Go to `https://gitea.straymoog.xyz/stray/komodo/settings/hooks`
2. Click **Add Webhook****Gitea**
3. Configure:
- **Payload URL**: `http://komodo.internal:9120/listener/github/build/komodo-demo-build/build`
- **Payload URL**: `http://komodo.internal:9120/listener/github/build/komodo-build/build`
- **Content Type**: `application/json`
- **Secret**: Your `KOMODO_WEBHOOK_SECRET`
- **Trigger**: Just the push event
- **Active**: ✓
#### Stack Webhook (Deploy)
- **Payload URL**: `http://komodo.internal:9120/listener/github/stack/komodo-demo-stack/deploy`
- **Payload URL**: `http://komodo.internal:9120/listener/github/stack/komodo-stack/deploy`
#### Resource Sync Webhook
- **Payload URL**: `http://komodo.internal:9120/listener/github/sync/komodo-demo-sync/sync`
- **Payload URL**: `http://komodo.internal:9120/listener/github/sync/komodo-sync/sync`
**Note**: Use `/listener/github/` for Gitea (it's compatible with GitHub webhook format)
@@ -153,17 +153,17 @@ For each resource, create a webhook in Gitea:
## Resource Details
### Build Resource: `komodo-demo-build`
### Build Resource: `komodo-build`
- Builds Docker image from Dockerfile
- Image name: `komodo-demo-app:latest`
- Image name: `komodo-app:latest`
- Triggers on push to `main` branch
### Stack Resource: `komodo-demo-stack`
### Stack Resource: `komodo-stack`
- Deploys using `docker-compose.yml`
- Runs app on port 3000
- Depends on built image
### Sync Resource: `komodo-demo-sync`
### Sync Resource: `komodo-sync`
- Syncs Komodo configuration from `.komodo/` directory
- Enables GitOps workflow
- Can be configured to commit changes back to repo