Initial demo setup for Komodo + Gitea integration

Added:
- Simple Express.js app with health endpoint
- Dockerfile for containerization
- Docker Compose configuration
- Komodo resource definitions (.komodo/resources.toml)
- Comprehensive README with integration details

This repo demonstrates Build, Stack, and Sync resources.
This commit is contained in:
2025-12-14 13:52:02 -08:00
parent 85e5128b00
commit 88a5a774b8
6 changed files with 156 additions and 2 deletions

52
.komodo/resources.toml Normal file
View File

@@ -0,0 +1,52 @@
[[build]]
name = "komodo-demo-build"
description = "Build Docker image for komodo-demo app"
tags = ["demo", "gitea"]
[build.config]
# Repo configuration
git_provider = "gitea.straymoog.xyz"
git_account = "stray"
repo = "stray/komodo-demo"
branch = "main"
# Build configuration
build_path = "."
dockerfile_path = "Dockerfile"
# Image configuration
image_registry = "local"
image_name = "komodo-demo-app"
image_tag = "latest"
[[stack]]
name = "komodo-demo-stack"
description = "Deploy komodo-demo app using docker-compose"
tags = ["demo", "gitea"]
[stack.config]
# Use compose file from git repo
[stack.config.repo]
git_provider = "gitea.straymoog.xyz"
git_account = "stray"
repo = "stray/komodo-demo"
branch = "main"
path = "docker-compose.yml"
# Or optionally, define inline compose content
# file_contents = '''
# ... compose yaml here ...
# '''
[[sync]]
name = "komodo-demo-sync"
description = "Sync Komodo resources from Git"
tags = ["demo", "gitea"]
[sync.config]
git_provider = "gitea.straymoog.xyz"
git_account = "stray"
repo = "stray/komodo-demo"
branch = "main"
resource_path = ".komodo"
commit_to_repo = false