mirror of
https://github.com/kossakovsky/n8n-install.git
synced 2026-03-07 22:33:11 +00:00
refactor(welcome): simplify service cards and remove duplicates
- remove min-height from card headers for natural sizing - remove duplicate postgres credentials from postgresus card - consolidate python-runner info into single multiline note - add spacing between credential rows and support for line breaks
This commit is contained in:
@@ -93,13 +93,8 @@ fi
|
||||
if is_profile_active "postgresus"; then
|
||||
SERVICES_ARRAY+=(" \"postgresus\": {
|
||||
\"hostname\": \"$(json_escape "$POSTGRESUS_HOSTNAME")\",
|
||||
\"credentials\": {},
|
||||
\"extra\": {
|
||||
\"pg_host\": \"postgres\",
|
||||
\"pg_port\": \"${POSTGRES_PORT:-5432}\",
|
||||
\"pg_user\": \"$(json_escape "${POSTGRES_USER:-postgres}")\",
|
||||
\"pg_password\": \"$(json_escape "$POSTGRES_PASSWORD")\",
|
||||
\"pg_db\": \"$(json_escape "${POSTGRES_DB:-postgres}")\"
|
||||
\"credentials\": {
|
||||
\"note\": \"PostgreSQL credentials are shown in the PostgreSQL card\"
|
||||
}
|
||||
}")
|
||||
fi
|
||||
@@ -409,12 +404,7 @@ if is_profile_active "python-runner"; then
|
||||
SERVICES_ARRAY+=(" \"python-runner\": {
|
||||
\"hostname\": null,
|
||||
\"credentials\": {
|
||||
\"note\": \"Internal service only\"
|
||||
},
|
||||
\"extra\": {
|
||||
\"mounted_dir\": \"./python-runner -> /app\",
|
||||
\"entry_file\": \"/app/main.py\",
|
||||
\"logs_command\": \"docker compose -p localai logs -f python-runner\"
|
||||
\"note\": \"Mount: ./python-runner → /app\\nEntry: /app/main.py\\nLogs: make logs s=python-runner\"
|
||||
}
|
||||
}")
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user