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.
53 lines
1.1 KiB
TOML
53 lines
1.1 KiB
TOML
[[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
|