Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions app/web/views/shared/breadcrumb.templ
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ templ breadCrumbItem(crumb *bcItem, identifier bcIdentifier, isDropDownOpen stri
<span class="flex items-center gap-1">
<a
href={ crumb.url }
class="text-tx-secondary hover:text-tx-primary cursor-pointer"
class="link cursor-pointer opacity-90"
>{ crumb.name }</a>
if crumb.listUrl != "" {
<span
Expand Down Expand Up @@ -188,7 +188,7 @@ templ BreadCrumbDropdownList(items []*dto.BreadCrumbListItem) {
<a
hx-push-url="true"
href={ item.Link }
class="block px-3 py-2 text-sm font-medium text-tx-secondary transition-colors hover:bg-secondary hover:text-tx-primary"
class="block px-3 py-2 text-sm font-medium transition-colors hover:bg-secondary hover:text-brand"
>{ item.Name }</a>
}
}
Expand Down
155 changes: 155 additions & 0 deletions templates/7-n8n.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,155 @@
{
"icon": "https://raw.githubusercontent.com/cloudness-io/icons/refs/heads/main/n8n.svg",
"name": "n8n",
"readme": "n8n is a fair-code licensed workflow automation tool that lets you connect anything to everything via its open, fair-code model.",
"tags": [
"automation",
"workflow"
],
"services": [
{
"icon": "https://raw.githubusercontent.com/cloudness-io/icons/refs/heads/main/n8n.svg",
"name": "n8n",
"build": {
"source": {
"registry": {
"image": "n8nio/n8n:latest"
}
}
},
"deploy": {},
"networking": {
"containerPorts": [
5678
],
"serviceDomain": {
"port": 5678,
"path": "/"
}
},
"volumes": [
{
"name": "n8n-data",
"mountPath": "/home/n8n"
}
],
"variables": [
{
"key": "N8N_USER_FOLDER",
"value": "/home/n8n",
"type": "run"
},
{
"key": "N8N_HOST",
"value": "${{CLOUDNESS_PUBLIC_DOMAIN}}",
"type": "run"
},
{
"key": "N8N_PROTOCOL",
"value": "https",
"type": "run"
},
{
"key": "WEBHOOK_URL",
"value": "${{CLOUDNESS_PUBLIC_DOMAIN}}",
"type": "run"
},
{
"key": "N8N_PORT",
"value": "5678",
"type": "run"
},
{
"key": "DB_TYPE",
"value": "postgresdb",
"type": "run"
},
{
"key": "DB_POSTGRESDB_HOST",
"value": "${{n8n-db.CLOUDNESS_PRIVATE_DOMAIN}}",
"type": "run"
},
{
"key": "DB_POSTGRESDB_PORT",
"value": "5432",
"type": "run"
},
{
"key": "DB_POSTGRESDB_DATABASE",
"value": "${{n8n-db.POSTGRES_DB}}",
"type": "run"
},
{
"key": "DB_POSTGRESDB_USER",
"value": "${{n8n-db.POSTGRES_USER}}",
"type": "run"
},
{
"key": "DB_POSTGRESDB_PASSWORD",
"value": "${{n8n-db.POSTGRES_PASSWORD}}",
"type": "run"
},
{
"key": "EXECUTIONS_DATA_PRUNE",
"value": "true",
"type": "run"
},
{
"key": "EXECUTIONS_DATA_MAX_AGE",
"value": "168",
"type": "run"
},
{
"key": "N8N_METRICS",
"value": "false",
"type": "run"
}
]
},
{
"icon": "https://raw.githubusercontent.com/cloudness-io/icons/refs/heads/main/postgresql.svg",
"name": "n8n-db",
"build": {
"source": {
"registry": {
"image": "postgres:16-alpine"
}
}
},
"deploy": {},
"networking": {
"containerPorts": [
5432
]
},
"volumes": [
{
"name": "db-data",
"mountPath": "/var/lib/postgresql/data"
}
],
"variables": [
{
"key": "PGDATA",
"value": "/var/lib/postgresql/data/pgdata",
"type": "run"
},
{
"key": "POSTGRES_USER",
"value": "n8n",
"type": "run"
},
{
"key": "POSTGRES_DB",
"value": "n8n",
"type": "run"
},
{
"key": "POSTGRES_PASSWORD",
"value": "${{secret(32)}}",
"type": "run"
}
]
}
]
}
2 changes: 1 addition & 1 deletion types/check/common.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const (
gitRepoSshPattern = `^git@([\w.-]+):([\w-]+)\/([\w.-]+)\.git$`
fqdnPattern = `^(https?://)([a-zA-Z0-9-]+\.)+[a-zA-Z]{2,}$`
ipV4Pattern = `^((25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$`
directoryPattern = `^((/[a-zA-Z0-9-_]+)+|/)$`
directoryPattern = `^((/[a-zA-Z0-9-_.]+)+|/)$`
emailRegex = `^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$`

//variables
Expand Down
Loading