Files
komodo/.komodo/resources.toml

450 lines
8.8 KiB
TOML

[[server]]
name = "lpdelta01"
[server.config]
address = "https://192.168.1.128:8120"
enabled = true
##
[[server]]
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 = "adguard"
[stack.config]
server = "syn01"
file_contents = """
services:
adguard:
image: adguard/adguardhome
container_name: AdGuard
mem_limit: 2g
cpu_shares: 768
security_opt:
- no-new-privileges:true
network_mode: host
volumes:
- /volume1/docker/adguard/config:/opt/adguardhome/conf:rw
- /volume1/docker/adguard/data:/opt/adguardhome/work:rw
environment:
TZ: America/Los_Angeles
restart: on-failure:5
"""
##
[[stack]]
name = "arr-cleanup"
description = "Automated cleanup for Radarr and Sonarr unmonitored items"
tags = ["automation", "arr", "syn02"]
[stack.config]
server = "syn02"
git_provider = "192.168.1.51:3052"
git_https = false
git_account = "komodo"
repo = "stray/komodo"
file_paths = [
"stacks/arr-cleanup.compose.yml"
]
##
[[stack]]
name = "beszel-agent-lpdelta01"
[stack.config]
server = "lpdelta01"
git_provider = "192.168.1.51:3052"
git_https = false
git_account = "komodo"
repo = "stray/komodo"
file_paths = [
"stacks/beszel-template.compose.yml"
]
##
[[stack]]
name = "beszel-agent-syn02"
[stack.config]
server = "syn02"
git_provider = "192.168.1.51:3052"
git_https = false
git_account = "komodo"
repo = "stray/komodo"
file_paths = [
"stacks/beszel-template.compose.yml"
]
##
[[stack]]
name = "beszel-hub"
description = "Beszel monitoring hub and agent for syn01"
tags = ["monitoring", "syn01"]
[stack.config]
server = "syn01"
git_provider = "192.168.1.51:3052"
git_https = false
git_account = "komodo"
repo = "stray/komodo"
file_paths = [
"stacks/beszel-hub.compose.yml"
]
##
[[stack]]
name = "beszel-template"
description = "Beszel agent template for monitoring servers"
template = true
tags = ["monitoring", "template"]
[stack.config]
git_provider = "192.168.1.51:3052"
git_https = false
git_account = "komodo"
repo = "stray/komodo"
file_paths = [
"stacks/beszel-template.compose.yml"
]
##
[[stack]]
name = "dns01"
description = "Technitium DNS server cluster primary node on syn01"
tags = [
"dns",
"network",
"cluster",
"syn01",
"primary"
]
[stack.config]
server = "syn01"
git_provider = "192.168.1.51:3052"
git_https = false
git_account = "komodo"
repo = "stray/komodo"
file_paths = [
"stacks/technitium_syn01.compose.yml"
]
##
[[stack]]
name = "dns02"
description = "Technitium DNS server cluster node on syn02"
tags = ["dns", "network", "cluster", "syn02"]
[stack.config]
server = "syn02"
git_provider = "192.168.1.51:3052"
git_https = false
git_account = "komodo"
repo = "stray/komodo"
file_paths = [
"stacks/technitium_syn02.compose.yml"
]
##
[[stack]]
name = "gitea"
[stack.config]
server = "syn01"
file_contents = """
services:
db:
image: postgres:17
container_name: Gitea-DB
hostname: gitea-db
security_opt:
- no-new-privileges:true
healthcheck:
test: ["CMD", "pg_isready", "-q", "-d", "gitea", "-U", "giteauser"]
timeout: 45s
interval: 10s
retries: 10
volumes:
- /volume1/docker/gitea/db:/var/lib/postgresql/data:rw
environment:
- POSTGRES_DB=gitea
- POSTGRES_USER=giteauser
- POSTGRES_PASSWORD=Parakeet7-Gender3-Cleat8-Crepe0-Silliness1
restart: on-failure:5
gitea:
image: gitea/gitea:latest
container_name: Gitea
hostname: gitea
depends_on:
db:
condition: service_healthy
security_opt:
- no-new-privileges:true
healthcheck:
test: wget --no-verbose --tries=1 --spider http://localhost:3000/ || exit 1
interval: 10s
timeout: 5s
retries: 5
ports:
- 3052:3000
- 2222:22
volumes:
- /volume1/docker/gitea/data:/data
- /volume1/docker/gitea/data:/data/git/repositories:rw
- /etc/TZ:/etc/TZ:ro
- /etc/localtime:/etc/localtime:ro
environment:
- USER_UID=1026
- USER_GID=100
- GITEA__database__DB_TYPE=postgres
- GITEA__database__HOST=gitea-db:5432
- GITEA__database__NAME=gitea
- GITEA__database__USER=giteauser
- GITEA__database__PASSWD=Parakeet7-Gender3-Cleat8-Crepe0-Silliness1
- ROOT_URL=https://gitea.straymoog.xyz
restart: on-failure:5
"""
##
[[stack]]
name = "jellyfin"
[stack.config]
server = "lpdelta01"
poll_for_updates = true
auto_update = true
auto_update_all_services = true
git_provider = "192.168.1.51:3052"
git_https = false
git_account = "komodo"
repo = "stray/komodo"
file_paths = ["stacks/jellyfin.compose.yml"]
##
[[stack]]
name = "jellyfin-workstation"
description = "Jellyfin media server with NVIDIA GPU hardware acceleration"
tags = ["media", "workstation", "gpu"]
[stack.config]
server = "workstation"
git_provider = "192.168.1.51:3052"
git_https = false
git_account = "komodo"
repo = "stray/komodo"
file_paths = [
"stacks/jellyfin-workstation.compose.yml"
]
##
[[stack]]
name = "komodo-stack"
description = "Deploy komodo app using docker-compose"
tags = ["gitea"]
[stack.config]
git_provider = "192.168.1.51:3052"
git_https = false
git_account = "komodo"
repo = "stray/komodo"
file_paths = ["docker-compose.yml"]
environment = """
# VARIABLE = value
TEST=testing
"""
##
[[stack]]
name = "lidarr"
description = "Lidarr music collection manager"
tags = ["media", "arr", "syn02"]
[stack.config]
server = "syn02"
git_provider = "192.168.1.51:3052"
git_https = false
git_account = "komodo"
repo = "stray/komodo"
file_paths = ["stacks/lidarr.compose.yml"]
##
[[stack]]
name = "paperless-ngx"
description = "Paperless-ngx document management system"
tags = ["documents", "syn01"]
[stack.config]
server = "syn01"
git_provider = "192.168.1.51:3052"
git_https = false
git_account = "komodo"
repo = "stray/komodo"
file_paths = [
"stacks/paperless-ngx.compose.yml"
]
environment = """
PAPERLESS_DBPASS=Radiator0-Buddhist3-Simplify5-Twine9-Hatchling8
PAPERLESS_ADMIN_PASSWORD=Vmfa115!
"""
##
[[stack]]
name = "postgres01"
description = "PostgreSQL database with PgBouncer and pgAdmin"
tags = ["database", "syn01"]
[stack.config]
server = "syn01"
git_provider = "192.168.1.51:3052"
git_https = false
git_account = "komodo"
repo = "stray/komodo"
file_paths = [
"stacks/postgres01.compose.yml"
]
environment = """
POSTGRES_PASSWORD=Kimiye1999
"""
##
[[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"]
##
[[stack]]
name = "radarr"
description = "Radarr movie collection manager"
tags = ["media", "arr", "syn02"]
[stack.config]
server = "syn02"
git_provider = "192.168.1.51:3052"
git_https = false
git_account = "komodo"
repo = "stray/komodo"
file_paths = ["stacks/radarr.compose.yml"]
##
[[stack]]
name = "sabnzbd"
description = "SABnzbd usenet downloader"
tags = ["download", "syn02"]
[stack.config]
server = "syn02"
git_provider = "192.168.1.51:3052"
git_https = false
git_account = "komodo"
repo = "stray/komodo"
file_paths = ["stacks/sabnzbd.compose.yml"]
##
[[stack]]
name = "sonarr"
description = "Sonarr TV show collection manager"
tags = ["media", "arr", "syn02"]
[stack.config]
server = "syn02"
git_provider = "192.168.1.51:3052"
git_https = false
git_account = "komodo"
repo = "stray/komodo"
file_paths = ["stacks/sonarr.compose.yml"]
##
[[build]]
name = "komodo-build"
description = "Build Docker image for komodo app"
tags = ["gitea"]
[build.config]
image_name = "komodo-app"
image_tag = "latest"
git_provider = "gitea.straymoog.xyz"
git_account = "stray"
repo = "stray/komodo"
##
[[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