[Komodo] Commit Sync: update .komodo/resources.toml
This commit is contained in:
@@ -1,44 +1,158 @@
|
|||||||
[[build]]
|
[[server]]
|
||||||
name = "komodo-build"
|
name = "lpdelta01"
|
||||||
description = "Build Docker image for komodo app"
|
[server.config]
|
||||||
tags = ["gitea"]
|
address = "https://192.168.1.128:8120"
|
||||||
|
enabled = true
|
||||||
|
|
||||||
[build.config]
|
##
|
||||||
# Repo configuration
|
|
||||||
git_provider = "gitea.straymoog.xyz"
|
[[server]]
|
||||||
git_account = "stray"
|
name = "syn01"
|
||||||
|
[server.config]
|
||||||
|
address = "http://periphery:8120"
|
||||||
|
external_address = "http://192.168.1.51"
|
||||||
|
enabled = true
|
||||||
|
|
||||||
|
##
|
||||||
|
|
||||||
|
[[server]]
|
||||||
|
name = "syn02"
|
||||||
|
[server.config]
|
||||||
|
address = "http://192.168.1.52:8120"
|
||||||
|
external_address = "http://192.168.1.52"
|
||||||
|
enabled = true
|
||||||
|
|
||||||
|
##
|
||||||
|
|
||||||
|
[[server]]
|
||||||
|
name = "workstation"
|
||||||
|
[server.config]
|
||||||
|
address = "https://192.168.1.99:8120"
|
||||||
|
enabled = true
|
||||||
|
|
||||||
|
##
|
||||||
|
|
||||||
|
[[stack]]
|
||||||
|
name = "jellyfin"
|
||||||
|
[stack.config]
|
||||||
|
server = "lpdelta01"
|
||||||
|
git_provider = "192.168.1.51:3052"
|
||||||
|
git_https = false
|
||||||
|
git_account = "komodo"
|
||||||
repo = "stray/komodo"
|
repo = "stray/komodo"
|
||||||
branch = "main"
|
file_paths = ["stacks/jellyfin.compose.yml"]
|
||||||
|
|
||||||
# Build configuration
|
##
|
||||||
build_path = "."
|
|
||||||
dockerfile_path = "Dockerfile"
|
|
||||||
|
|
||||||
# Image configuration
|
|
||||||
image_name = "komodo-app"
|
|
||||||
image_tag = "latest"
|
|
||||||
|
|
||||||
[[stack]]
|
[[stack]]
|
||||||
name = "komodo-stack"
|
name = "komodo-stack"
|
||||||
description = "Deploy komodo app using docker-compose"
|
description = "Deploy komodo app using docker-compose"
|
||||||
tags = ["gitea"]
|
tags = ["gitea"]
|
||||||
|
|
||||||
[stack.config]
|
[stack.config]
|
||||||
git_provider = "gitea.straymoog.xyz"
|
git_provider = "192.168.1.51:3052"
|
||||||
git_account = "stray"
|
git_https = false
|
||||||
|
git_account = "komodo"
|
||||||
repo = "stray/komodo"
|
repo = "stray/komodo"
|
||||||
branch = "main"
|
|
||||||
file_paths = ["docker-compose.yml"]
|
file_paths = ["docker-compose.yml"]
|
||||||
|
environment = """
|
||||||
|
# VARIABLE = value
|
||||||
|
TEST=testing
|
||||||
|
"""
|
||||||
|
|
||||||
[[sync]]
|
##
|
||||||
name = "komodo-sync"
|
|
||||||
description = "Sync Komodo resources from Git"
|
[[stack]]
|
||||||
|
name = "prowlarr"
|
||||||
|
[stack.config]
|
||||||
|
server = "syn02"
|
||||||
|
git_provider = "192.168.1.51:3052"
|
||||||
|
git_https = false
|
||||||
|
git_account = "komodo"
|
||||||
|
repo = "stray/komodo"
|
||||||
|
file_paths = ["stacks/prowlarr.compose.yml"]
|
||||||
|
file_contents = """
|
||||||
|
services:
|
||||||
|
prowlarr:
|
||||||
|
container_name: prowlarr
|
||||||
|
image: ghcr.io/hotio/prowlarr
|
||||||
|
ports:
|
||||||
|
- "9696:9696"
|
||||||
|
environment:
|
||||||
|
- PUID=1000
|
||||||
|
- PGID=1000
|
||||||
|
- UMASK=002
|
||||||
|
- TZ=Etc/UTC
|
||||||
|
volumes:
|
||||||
|
- /volume2/data:/data:rw
|
||||||
|
- /volume2/docker/prowlarr:/config:rw
|
||||||
|
"""
|
||||||
|
|
||||||
|
##
|
||||||
|
|
||||||
|
[[stack]]
|
||||||
|
name = "radarr"
|
||||||
|
[stack.config]
|
||||||
|
server = "syn01"
|
||||||
|
|
||||||
|
##
|
||||||
|
|
||||||
|
[[build]]
|
||||||
|
name = "komodo-build"
|
||||||
|
description = "Build Docker image for komodo app"
|
||||||
tags = ["gitea"]
|
tags = ["gitea"]
|
||||||
|
[build.config]
|
||||||
[sync.config]
|
image_name = "komodo-app"
|
||||||
|
image_tag = "latest"
|
||||||
git_provider = "gitea.straymoog.xyz"
|
git_provider = "gitea.straymoog.xyz"
|
||||||
git_account = "stray"
|
git_account = "stray"
|
||||||
repo = "stray/komodo"
|
repo = "stray/komodo"
|
||||||
branch = "main"
|
|
||||||
resource_path = ".komodo"
|
##
|
||||||
commit_to_repo = true
|
|
||||||
|
[[procedure]]
|
||||||
|
name = "Backup Core Database"
|
||||||
|
description = "Triggers the Core database backup at the scheduled time."
|
||||||
|
tags = ["system"]
|
||||||
|
config.schedule = "Every day at 01:00"
|
||||||
|
|
||||||
|
[[procedure.config.stage]]
|
||||||
|
name = "Stage 1"
|
||||||
|
enabled = true
|
||||||
|
executions = [
|
||||||
|
{ execution.type = "BackupCoreDatabase", execution.params = {}, enabled = true }
|
||||||
|
]
|
||||||
|
|
||||||
|
##
|
||||||
|
|
||||||
|
[[procedure]]
|
||||||
|
name = "Global Auto Update"
|
||||||
|
description = "Pulls and auto updates Stacks and Deployments using 'poll_for_updates' or 'auto_update'."
|
||||||
|
tags = ["system"]
|
||||||
|
config.schedule = "Every day at 03:00"
|
||||||
|
|
||||||
|
[[procedure.config.stage]]
|
||||||
|
name = "Stage 1"
|
||||||
|
enabled = true
|
||||||
|
executions = [
|
||||||
|
{ execution.type = "GlobalAutoUpdate", execution.params = {}, enabled = true }
|
||||||
|
]
|
||||||
|
|
||||||
|
##
|
||||||
|
|
||||||
|
[[builder]]
|
||||||
|
name = "Synology"
|
||||||
|
[builder.config]
|
||||||
|
type = "Server"
|
||||||
|
params.server_id = "syn01"
|
||||||
|
|
||||||
|
##
|
||||||
|
|
||||||
|
[[resource_sync]]
|
||||||
|
name = "komodo-sync"
|
||||||
|
[resource_sync.config]
|
||||||
|
git_provider = "192.168.1.51:3052"
|
||||||
|
git_https = false
|
||||||
|
repo = "stray/komodo"
|
||||||
|
git_account = "komodo"
|
||||||
|
resource_path = [".komodo/resources.toml"]
|
||||||
|
managed = true
|
||||||
Reference in New Issue
Block a user