From 8c121daf6c4d4a3990477733341f4dd0c8810d2d Mon Sep 17 00:00:00 2001
From: PrtmPhlp
Date: Sun, 1 Jun 2025 12:15:14 +0200
Subject: [PATCH 1/2] docker run command in detached mode
---
src/app/[orgId]/settings/sites/CreateSite | 0
src/app/[orgId]/settings/sites/CreateSiteForm.tsx | 2 +-
src/app/[orgId]/settings/sites/create/page.tsx | 4 ++--
3 files changed, 3 insertions(+), 3 deletions(-)
create mode 100644 src/app/[orgId]/settings/sites/CreateSite
diff --git a/src/app/[orgId]/settings/sites/CreateSite b/src/app/[orgId]/settings/sites/CreateSite
new file mode 100644
index 00000000..e69de29b
diff --git a/src/app/[orgId]/settings/sites/CreateSiteForm.tsx b/src/app/[orgId]/settings/sites/CreateSiteForm.tsx
index c4da2336..a80bc52a 100644
--- a/src/app/[orgId]/settings/sites/CreateSiteForm.tsx
+++ b/src/app/[orgId]/settings/sites/CreateSiteForm.tsx
@@ -268,7 +268,7 @@ PersistentKeepalive = 5`
- NEWT_ID=${siteDefaults?.newtId}
- NEWT_SECRET=${siteDefaults?.newtSecret}`;
- const newtConfigDockerRun = `docker run -it fosrl/newt --id ${siteDefaults?.newtId} --secret ${siteDefaults?.newtSecret} --endpoint ${env.app.dashboardUrl}`;
+ const newtConfigDockerRun = `docker run -dit fosrl/newt --id ${siteDefaults?.newtId} --secret ${siteDefaults?.newtSecret} --endpoint ${env.app.dashboardUrl}`;
return loadingPage ? (
diff --git a/src/app/[orgId]/settings/sites/create/page.tsx b/src/app/[orgId]/settings/sites/create/page.tsx
index 38c8a772..2bde4337 100644
--- a/src/app/[orgId]/settings/sites/create/page.tsx
+++ b/src/app/[orgId]/settings/sites/create/page.tsx
@@ -257,7 +257,7 @@ PersistentKeepalive = 5`;
- NEWT_SECRET=${secret}`
],
"Docker Run": [
- `docker run -it fosrl/newt --id ${id} --secret ${secret} --endpoint ${endpoint}`
+ `docker run -dit fosrl/newt --id ${id} --secret ${secret} --endpoint ${endpoint}`
]
},
podman: {
@@ -280,7 +280,7 @@ Restart=always
WantedBy=default.target`
],
"Podman Run": [
- `podman run -it docker.io/fosrl/newt --id ${id} --secret ${secret} --endpoint ${endpoint}`
+ `podman run -dit docker.io/fosrl/newt --id ${id} --secret ${secret} --endpoint ${endpoint}`
]
}
};
From 167d0b6867a79e83ce9b0a7e603a0c4ef23f2c0d Mon Sep 17 00:00:00 2001
From: PrtmPhlp
Date: Sun, 1 Jun 2025 12:19:09 +0200
Subject: [PATCH 2/2] unnecessary file
---
src/app/[orgId]/settings/sites/CreateSite | 0
1 file changed, 0 insertions(+), 0 deletions(-)
delete mode 100644 src/app/[orgId]/settings/sites/CreateSite
diff --git a/src/app/[orgId]/settings/sites/CreateSite b/src/app/[orgId]/settings/sites/CreateSite
deleted file mode 100644
index e69de29b..00000000