From 231dbc4577b795c2b6c8cafaee35d5c5d9fbe26a Mon Sep 17 00:00:00 2001 From: Pablo Ruiz Date: Wed, 6 Oct 2021 22:17:43 +0200 Subject: [PATCH] Added remote docker host --- .../Settings/OtherSettings/OtherSettings.tsx | 13 ++++++++++++ client/src/interfaces/Forms.ts | 1 + controllers/apps.js | 21 ++++++++++++------- utils/initialConfig.json | 4 ++++ 4 files changed, 32 insertions(+), 7 deletions(-) diff --git a/client/src/components/Settings/OtherSettings/OtherSettings.tsx b/client/src/components/Settings/OtherSettings/OtherSettings.tsx index afaf072..bd9bf49 100644 --- a/client/src/components/Settings/OtherSettings/OtherSettings.tsx +++ b/client/src/components/Settings/OtherSettings/OtherSettings.tsx @@ -52,6 +52,7 @@ const OtherSettings = (props: ComponentProps): JSX.Element => { bookmarksSameTab: 0, searchSameTab: 0, dockerApps: 1, + dockerHost: 'localhost', kubernetesApps: 1, unpinStoppedApps: 1, }); @@ -72,6 +73,7 @@ const OtherSettings = (props: ComponentProps): JSX.Element => { bookmarksSameTab: searchConfig('bookmarksSameTab', 0), searchSameTab: searchConfig('searchSameTab', 0), dockerApps: searchConfig('dockerApps', 0), + dockerHost: searchConfig('dockerHost', 'localhost'), kubernetesApps: searchConfig('kubernetesApps', 0), unpinStoppedApps: searchConfig('unpinStoppedApps', 0), }); @@ -275,6 +277,17 @@ const OtherSettings = (props: ComponentProps): JSX.Element => { {/* DOCKER SETTINGS */}

Docker

+ + + inputChangeHandler(e)} + /> +